Skip to content

Commit

Permalink
removed an automigration causing migrations to not be applied
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 22, 2023
1 parent 49982d7 commit 138bc7e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/backend/migration/20230904100000.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ func (m TumDBMigrator) migrate20230904100000() *gormigrate.Migration {
if err := SafeEnumAdd(tx, &model.Crontab{}, "type", "movie"); err != nil {
return err
}
if err := tx.AutoMigrate(&NewsSource{}); err != nil {
return err
}
// tu film news source is now inlined
if err := tx.Delete(&NewsSource{Source: 2}).Error; err != nil {
return err
Expand Down

0 comments on commit 138bc7e

Please sign in to comment.