Skip to content

Commit

Permalink
different test
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 23, 2024
1 parent d8cbdca commit 2a44388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/model/dish_rating_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package model

type DishRatingTag struct {
DishRatingTag int64 `gorm:"primary_key;AUTO_INCREMENT;column:dishRatingTag"`
RatingID int64 `gorm:"column:parentRating"`
RatingID int64 `gorm:"column:parentRating;not null"`
Rating CanteenRating
TagID int64
TagID int64 `gorm:"column:tagID;not null"`
Tag CanteenRatingTagOption
Points int32 `gorm:"not null"`
}

0 comments on commit 2a44388

Please sign in to comment.