From 138bc7ea2e36cb1c8e7a9067e766d54961e9dcbf Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 22 Oct 2023 15:27:39 +0200 Subject: [PATCH] removed an automigration causing migrations to not be applied --- server/backend/migration/20230904100000.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/backend/migration/20230904100000.go b/server/backend/migration/20230904100000.go index bd62bf8e..fb412917 100644 --- a/server/backend/migration/20230904100000.go +++ b/server/backend/migration/20230904100000.go @@ -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