From fd5915ac4a9f4fc4a4331d8cfef9953ccedc269b Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Thu, 21 Dec 2023 11:59:46 +0545 Subject: [PATCH] feat: apply changelog triggers during migration [skip ci] --- db/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/init.go b/db/init.go index b810b729f..0df430480 100644 --- a/db/init.go +++ b/db/init.go @@ -105,7 +105,7 @@ func Init(ctx context.Context, connection string) error { if runMigrations { opts := &migrate.MigrateOptions{ - IgnoreFiles: []string{"012_changelog.sql"}, + IgnoreFiles: []string{"012_changelog_triggers_checks.sql", "012_changelog_triggers_others.sql"}, } if err = duty.Migrate(connection, opts); err != nil { return err