Service applies migrations from the directory to the clickhouse cluster.
175
Service applies migrations from the directory to the clickhouse cluster. Main goal of the service - dev or test environments, which are identical with production environment.
More: https://github.com/barloc/clickhouse-migrations-for-cluster
Clickhouse doesn't have transactions for replicated tables, so we can not provide apllying migration in the single transaction. It is always applying migration queries step by step and after it writing success message to the trunsactions table in the cluster.
Add your migrations directory to the docker image and then execute it.
docker run -v ... -e ... barloc/clickhouse-migrations-for-cluster:0.0.1
Only via envs.
; between.Content type
Image
Digest
sha256:ad7661fe0…
Size
41.9 MB
Last updated
over 2 years ago
docker pull barloc/clickhouse-migrations-for-cluster:0.0.3