{"repo":"zifter/clickhouse-migrations","free":true,"listed":false,"github":"https://github.com/zifter/clickhouse-migrations","clone":"git clone https://github.com/zifter/clickhouse-migrations.git","description":"Simple migration tool for clickhouse database","language":"Python","stars":38,"topics":["clickhouse","database","migration","python","ci-cd","cli","clickhouse-connect","database-migration","ddl","devops"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"ClickHouse Migrations Simple, file-based schema migrations for ClickHouse — the most actively maintained ClickHouse migration tool for Python. Write plain .sql files, apply them from the CLI, your code, CI, or Docker. Cluster-aware, with support for both the native clickhouse-driver and the official clickhouse-connect driver. Quick start 📖 Background: Managing ClickHouse migrations in production — why this tool exists, cluster support, and multi-statement migration files. Features Multi-statement migrations — more than one query per .sql file Cluster-aware — keeps migration state consistent across all cluster nodes Zero-config file format — {VERSION} {name}.sql , applied in order Run anywhere — CLI, Python API, GitHub Action, or Docker image Two drivers — native clickhouse-driver (TCP) or official clickhouse-connect (HTTP) Inspect before you apply — status and --dry-run show applied vs pending migrations without touching data Naive rollbacks — optional paired {VERSION} {name}.down.sql files and a down subcommand to reverse applied migrations Known alternatives This package originally forked from clickhouse-migrator. Package Differences ------- --------- clickhouse-migrator Doesn't support multistatement in a single file , to heavy because of pandas, looks like abandoned django-clickhouse Need django clickhouse-migrate Doesn't support multistatement Installation You can install from pypi using pip install clickhouse-migrations . By default it uses the native clickhouse-driver","default_branch":null,"files":null,"tree":[],"storefront":"/r/zifter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zifter/clickhouse-migrations/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}