diff --git a/server/backend/migration/20230905100000.go b/server/backend/migration/20230905100000.go index 523c3d5b..08658b51 100644 --- a/server/backend/migration/20230905100000.go +++ b/server/backend/migration/20230905100000.go @@ -34,7 +34,7 @@ func (f *Files) TableName() string { // makes the Cover FK into a not null field // renames kino -> movie // fixes the id being named kino -func (m TumDBMigrator) migrate20230905100000() *gormigrate.Migration { +func migrate20230905100000() *gormigrate.Migration { return &gormigrate.Migration{ ID: "migrate20230905100000", Migrate: func(tx *gorm.DB) error { diff --git a/server/backend/migration/20230912000000.go b/server/backend/migration/20230912000000.go index 3ef8bda4..4af8324c 100644 --- a/server/backend/migration/20230912000000.go +++ b/server/backend/migration/20230912000000.go @@ -7,7 +7,7 @@ import ( // migrate20230912000000 // Removes ticketsales from the db -func (m TumDBMigrator) migrate20230912000000() *gormigrate.Migration { +func migrate20230912000000() *gormigrate.Migration { return &gormigrate.Migration{ ID: "20230912000000", Migrate: func(tx *gorm.DB) error { diff --git a/server/backend/migration/20231023000000.go b/server/backend/migration/20231023000000.go index e7d1a6fa..7c58e101 100644 --- a/server/backend/migration/20231023000000.go +++ b/server/backend/migration/20231023000000.go @@ -13,7 +13,7 @@ type device2stats struct { // migrate20231023000000 // Removes all traces of the chat from the database. -func (m TumDBMigrator) migrate20231023000000() *gormigrate.Migration { +func migrate20231023000000() *gormigrate.Migration { return &gormigrate.Migration{ ID: "20231023000000", Migrate: func(tx *gorm.DB) error {