RethinkDB migration tool for Node.js applications (v1.1.0). Manages database schema evolution with support for environment-specific migrations (stage, uat, etc.). Uses configuration via environment variables or JSON config file. Features automatic migration script generation, pre/post scripts, and migration history tracking. Requires Node >=8.9.4. No updates since 2018; consider fork or replacement for active support.
npm install rethinkdb-migrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Generates a migration script, shows the template with table creation, and runs the migration tool via CLI.
Use Node 8.9.4 - 10.x or test compatibility.
Consider alternative databases like PostgreSQL or a maintained migration tool.
Set "DIR_IMPLEMENTATION": "" in config JSON.
Ensure await migrate.finishMigrationScript() is called after all operations.
Ensure config.json exists with required fields such as DB_HOST, DB_PORT, DB_NAME.
Run 'npm install rethinkdb-migration' in the project directory.
No dependency data recorded yet.