Registry / devops / cassandra-migrate-aws

cassandra-migrate-aws

JSON →
library1.0.1jsnpmunverified

A CLI migration tool for Cassandra and AWS Keyspaces, version 1.0.1. It provides incremental schema migrations using the DataStax Node.js Cassandra driver. Designed for AWS Keyspaces, it handles asynchronous table creation and disables prepared statements for DDL operations, but also supports standard Cassandra setups. Offers create, up, down, and skip commands with timestamped migration numbering. Configuration via CLI flags, environment variables, or config file. Active development on GitHub.

npm install cassandra-migrate-aws
INSTALL
IMPORT
SIG · CASSANDRA-MIGRATE-
C
cassandra-migrate-aws
devopsjavascriptv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

N/A
npx cassandra-migrate-aws create <title>
attempting to import as a module
This is a CLI tool, not a library. Use npx or global install.

Shows CLI installation and basic migration creation and application.

// No example available; CLI usage only. // Install and run: // npm install -D cassandra-migrate-aws // npx cassandra-migrate-aws create my_migration // npx cassandra-migrate-aws up -k mykeyspace -H 127.0.0.1 -u cassandra -p cassandra
Debug
Known issues
gotchaAWS Keyspaces does not support prepared statements for DDL; the tool disables them automatically.
fix
No action needed; it's handled internally.
affects: >=0.0.0
gotchaAWS Keyspaces table creation is asynchronous; the tool waits for table to be active before proceeding.
fix
No action needed; handled internally.
affects: >=0.0.0
deprecatedThe package is on version 1.0.1 and may not be actively maintained. Check for updates or alternatives.
fix
Consider contributing or forking if needed.
affects: 1.0.1
Errors
Common errors & fixes
Error: Cannot find module 'cassandra-driver'
Missing peer dependency cassandra-driver
fix
npm install cassandra-driver
unable to authenticate: authentication failed
Invalid username or password
fix
Use correct credentials via -u, -p, or environment variables.
Connection refused
Cassandra host not reachable
fix
Ensure Cassandra or AWS Keyspaces endpoint is running and accessible.
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies
cassandra-driverrequiredConnects to Cassandra / AWS Keyspaces
Agent activity
4 hits · last 30 days
node
4
Resources
cassandra-migrate-aws — npm install cassandra-migrate-aws · libregistry