clickhouse-migrations icon indicating copy to clipboard operation
clickhouse-migrations copied to clipboard

ClickHouse Migrations NodeJS CLI

Results 11 clickhouse-migrations issues
Sort by recently updated
recently updated
newest added

There doesn't appear anyway to override a 5 minute client timeout. I think receive_timeout is the culprit.

### Description As a title of this issue, Does this tool support Replicated Merge Tree Table Engine? We are finding the proper opersource tool to manage our schema on clickhouse...

A few changes in this PR: - Update Clickhouse to 1.4.0 - Replace `ClickhouseDbParams` with official `ClickHouseClientConfigOptions` type from `@clickhouse/client` - Use `url` for connection string instead of the deprecated...

The [ClickhouseDbParams](https://github.com/VVVi/clickhouse-migrations/blob/main/src/types/cli.d.ts#L15) supports a tls parameter, but there is no way to specify the TLS options via env variables. It would also be important to be able to pass the...

We need to create our DB on cluster with the replicated DB engine like this: `CREATE DATABASE IF NOT EXISTS shared ON CLUSTER default ENGINE = Replicated('/clickhouse/tables/{shard}/shared', '{shard}', '{replica}');` Currently,...

Adds the ability to override the default Clickhouse Client timeout through a new `--timeout` cli optional option. https://clickhouse.com/docs/en/integrations/language-clients/javascript#configuration Should resolve https://github.com/VVVi/clickhouse-migrations/issues/10 as well. I have also imported the type `NodeClickHouseClientConfigOptions`...

This resolves a failing test as a result of the change in https://github.com/VVVi/clickhouse-migrations/pull/9 Before: ![CleanShot 2024-05-31 at 08 57 09@2x](https://github.com/VVVi/clickhouse-migrations/assets/23254373/a82aac7d-140b-4ecf-8fb0-f9210888bfdd) After: ![CleanShot 2024-05-31 at 08 57 27@2x](https://github.com/VVVi/clickhouse-migrations/assets/23254373/23c31706-8e81-487f-aa04-1c56ce8714dd)

Implement downgrading the migration version _Originally posted by @Sank-WoT in https://github.com/VVVi/clickhouse-migrations/discussions/7_