Node.js migration tool for ClickHouse databases, version 1.1.1. Supports creating, running, and managing database migrations with a simple CLI. ESM-only, requires @clickhouse/client as peer dependency. Differentiates with lightweight setup and config-driven approach compared to larger frameworks. Released irregularly; current release stable.
npm install clickhouse-migration-toolNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize tool, create a migration file, and run pending migrations using CLI commands.
Use ESM syntax (import/export) in config and programmatic usage.
Keep auto-generated filenames unchanged.
Install @clickhouse/client separately via npm install @clickhouse/client.
Place clickhouse-migrate-config.js in root or use -c path/to/config.
npm install @clickhouse/client
Change to export default { ... } and ensure package.json has "type": "module" or use .mjs extension.Create the directory or update config path.