From cb8cb6a317820bf58e9828cbcd5d6709852f4cf7 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 11 Mar 2024 02:38:05 +0100 Subject: [PATCH] reverted accidental changes --- server/backend/migration/migration.go | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/server/backend/migration/migration.go b/server/backend/migration/migration.go index 4bd06f29..f70649c5 100644 --- a/server/backend/migration/migration.go +++ b/server/backend/migration/migration.go @@ -12,7 +12,34 @@ import ( func autoMigrate(db *gorm.DB) error { err := db.AutoMigrate( + &model.Cafeteria{}, + &model.CafeteriaRating{}, + &model.CafeteriaRatingTag{}, + &model.CafeteriaRatingTagOption{}, + &model.CanteenHeadCount{}, + &model.Crontab{}, + &model.Device{}, &model.Dish{}, + &model.DishNameTag{}, + &model.DishNameTagOption{}, + &model.DishNameTagOptionExcluded{}, + &model.DishNameTagOptionIncluded{}, + &model.DishRating{}, + &model.DishRatingTag{}, + &model.DishRatingTagOption{}, + &model.DishToDishNameTag{}, + &model.DishesOfTheWeek{}, + &model.Feedback{}, + &model.File{}, + &model.Kino{}, + &model.NewExamResultsSubscriber{}, + &model.News{}, + &model.NewsAlert{}, + &model.NewsSource{}, + &model.Notification{}, + &model.NotificationConfirmation{}, + &model.NotificationType{}, + &model.UpdateNote{}, ) return err }