flyway
flyway copied to clipboard
Clickhouse support
ClickHouse support for flyway. Updated #3134 from master.
Can it be merged? ClickHouse is on the hype, and everybody needs Flyway.
Flyway will loose many production clickhouse's users because this MR is not merged. That's a pity. I like Flyway, but must move on to the tools which are more flexible. Is there any chase it might be merged soon?
Golang-migrate https://github.com/golang-migrate/migrate supports clickhouse and offers much of the simplicity of flyway
Are there any plans for merge it?
It's works, but schema detection isn't working.
Clickhouse JDBC diver say about it
ClickHouse does not support catalog, please use setSchema instead
Need to replace calls of getCatalog/setCatalog
by getSchema/setSchema
I tested, after replacing works fine.
Second: need to replace old driver
<groupId>ru.yandex.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<version>${version.clickhouse-jdbc}</version>
<optional>true</optional>
by new
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<version>${version.clickhouse-jdbc}</version>
<optional>true</optional>
And change to actual version 0.3.2-patch11
@TheHett I fixed that in new PR. It also meets current contribution rules. https://github.com/flyway/flyway/pull/3611
Clickhouse has been added via subsequent PRs