Skip to content

Commit ffd0294

Browse files
authored
regenerate (#89)
1 parent 289733a commit ffd0294

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

gen/settings/migrations/Clickhouse.pkl.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/migrator/migration.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ func NewMigrateClick(cfg migrations.Clickhouse) *Click {
3232
func (m *Click) Run(migrationsDir string) error {
3333
p := &ClickHouse{}
3434
a := strings.Split(m.cfg.GetCredentials().Address, ":")
35+
e := m.cfg.GetEngine()
3536
addr := clickhouseConnectionString(
3637
m.cfg.GetCredentials().User,
3738
m.cfg.GetCredentials().Password,
3839
a[0],
3940
a[1],
4041
m.cfg.GetCredentials().Database,
41-
m.cfg.GetEngine(),
42+
&e,
4243
)
4344
d, err := p.Open(addr)
4445
if err != nil {

0 commit comments

Comments
 (0)