diff --git a/server/model/canteen_rating_tag.go b/server/model/canteen_rating_tag.go index fb2fd65d..688d3f15 100644 --- a/server/model/canteen_rating_tag.go +++ b/server/model/canteen_rating_tag.go @@ -4,8 +4,8 @@ package model type CanteenRatingTag struct { CanteenRatingTag int64 `gorm:"primary_key;AUTO_INCREMENT;column:CafeteriaRatingTag"` RatingID int64 `gorm:"column:corresponding_rating_id"` - Rating CanteenRating - TagID int64 `gorm:"column:tag_id"` - Tag CanteenRatingTagOption - Points int32 `gorm:"not null"` + //Rating CanteenRating + TagID int64 `gorm:"column:tag_id"` + //Tag CanteenRatingTagOption + Points int32 `gorm:"not null"` } diff --git a/server/model/dish_rating_tag.go b/server/model/dish_rating_tag.go index 8adf9841..625b747f 100644 --- a/server/model/dish_rating_tag.go +++ b/server/model/dish_rating_tag.go @@ -3,8 +3,8 @@ package model type DishRatingTag struct { DishRatingTag int64 `gorm:"primary_key;AUTO_INCREMENT;column:dishRatingTag"` RatingID int64 `gorm:"column:parentRating;not null"` - Rating CanteenRating - TagID int64 `gorm:"column:tagID;not null"` - Tag CanteenRatingTagOption - Points int32 `gorm:"not null"` + //Rating CanteenRating + TagID int64 `gorm:"column:tagID;not null"` + //Tag CanteenRatingTagOption + Points int32 `gorm:"not null"` }