Skip to content

Commit

Permalink
feat: ignore db triggers that are related to mission control
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Jul 18, 2023
1 parent 8e4805f commit a8bd167
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/db/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ func Init() error {
}()

if RunMigrations {
if err := duty.Migrate(ConnectionString, &migrate.MigrateOptions{IgnoreFiles: []string{"012_changelog.sql"}}); err != nil {
opts := &migrate.MigrateOptions{IgnoreFiles: []string{"007_events.sql", "012_changelog.sql"}}
if err := duty.Migrate(ConnectionString, opts); err != nil {
return err
}
}
Expand Down

0 comments on commit a8bd167

Please sign in to comment.