A plugin for db-migrate that enables Cassandra database migrations using the cassandra-driver. Version 0.0.5 is the latest release. It supports common migration operations such as create/drop table, add/remove/rename column, and change column type. The package is intended to be used alongside db-migrate and currently has limited functionality (e.g., no keyspace creation). It is a niche tool for Node.js projects needing schema migrations for Cassandra.
npm install db-migrate-cassandraNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, configuration, and a sample migration to create a users table with primary key.
Create the keyspace manually via cqlsh or another tool before running migrations.
Test migrations thoroughly on your Cassandra cluster.
Check the cassandra-driver documentation for compatibility with your Cassandra version.
Run 'npm install db-migrate-cassandra' and ensure the driver field in database.json is set to 'cassandra'.
Verify Cassandra is running and accessible at the configured host and port.
Create the keyspace manually: CREATE KEYSPACE mykeyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};