Skip to content

Commit

Permalink
feat: apply changelog triggers during migration
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
adityathebe committed Dec 21, 2023
1 parent 2735e26 commit fd5915a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd5915a

Please sign in to comment.