Open magurotuna opened 1 year ago
Any news?
I'm hitting a problem where latest migrate
binary simply does not work with ClickHouse 23.8.9. However, same code, but supplied with clickhouse-go-v2-created instance of sql.DB
and passed as argument to .WithInstance()
is working. So updating clickhouse-go to v2 would really help!
Is your feature request related to a problem? Please describe.
Currently clickhouse-go v1.4.3 is used as a backing client to connect to ClickHouse, although v1 is in maintenance mode and we are encouraged to switch to v2. https://github.com/golang-migrate/migrate/blob/691bc773cc0f8492431cefda5396bbc2e4eea63d/go.mod#L7
Describe the solution you'd like
Bump the version of clickhouse-go to v2
Describe alternatives you've considered N/A
Additional context
What would be concerning about updating to v2 is that it has a few breaking changes that will likely affect the users of golang-migrate as well. For example,
connection_open_strategy
was set torandom
in v1, whereasin_order
in v2. In my opinion it doesn't matter much for us as the users of golang-migrate, though.