A Node.js schema migration tool for ScyllaDB (and Cassandra), based on node-cassandra-migration. Use it to manage database schema changes via CQL migration files. The current stable version is 2.4.4. It runs in Node.js environments (engine >=0.10). It differs by adding ScyllaDB-specific updates to an otherwise unmaintained Cassandra migration tool. It is a simple, file-based migration system with a JSON config file.
npm install scylla-migrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install, configure, create a CQL migration file, and run the migration.
Create the keyspace manually (e.g., via cqlsh) before running scylla-migration.
Use format like 001__my_migration.cql. Ensure files are in the exact migrationsDir folder.
Separate each CQL statement with a line containing only '---'.
Run npm install --save cassandra-driver alongside scylla-migration.
Create keyspace manually: CREATE KEYSPACE mykeyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};