We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c378583 commit c8a5b34Copy full SHA for c8a5b34
database/clickhouse/clickhouse.go
@@ -248,7 +248,8 @@ func (ch *ClickHouse) ensureVersionTable() (err error) {
248
) Engine=%s`, ch.config.MigrationsTable, ch.config.MigrationsTableEngine)
249
}
250
251
- if strings.HasSuffix(ch.config.MigrationsTableEngine, "Tree") {
+ if strings.HasSuffix(ch.config.MigrationsTableEngine, "Tree") ||
252
+ strings.Contains(ch.config.MigrationsTableEngine, "MergeTree") {
253
query = fmt.Sprintf(`%s ORDER BY sequence`, query)
254
255
0 commit comments