1.0.6 • Published 5 months ago
@aragornhq/clickhouse-migration v1.0.6
@aragornhq/clickhouse-migration
⚔️ Production-grade CLI for managing ClickHouse schema migrations with raw SQL, rollback, integrity tracking, strict mode, and GitHub automation.
🚀 Features
- ✅ Native ClickHouse support using
@clickhouse/client
- ✅ Fully typed CLI (TypeScript)
- ✅ Supports
migration:create
,migration:up
,migration:down
- ✅ Rollback support using
-- ROLLBACK BELOW --
separator - ✅ SHA-256 hash tracking for applied migrations
- ✅ Enforced one-statement-per-file (recommended)
- ✅ Optional config via
clickhouse-migration.json
📦 Installation
npm install --save-dev @aragornhq/clickhouse-migration