1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-06-23 00:07:41 +02:00

fix: escape cluster name

This commit is contained in:
Vladimir Mihailenco
2023-09-07 11:03:37 +03:00
parent 2d9abe8a1a
commit faaf5d3708
7 changed files with 22 additions and 18 deletions

View File

@ -40,7 +40,7 @@ func WithOnCluster(cluster string) MigratorOption {
}
// WithMarkAppliedOnSuccess sets the migrator to only mark migrations as applied/unapplied
// when their up/down is successful
// when their up/down is successful.
func WithMarkAppliedOnSuccess(enabled bool) MigratorOption {
return func(m *Migrator) {
m.markAppliedOnSuccess = enabled