Skip to content

Commit

Permalink
Update server/backend/migration/20231003000000.go
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Elsinga <frank@elsinga.de>
  • Loading branch information
tobiasjungmann and CommanderStorm authored Oct 5, 2023
1 parent 325cf1e commit c8dde88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/backend/migration/20231003000000.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func addCanBeIncluded(parentId int64, db *gorm.DB, v nameTag) {
for _, expression := range v.CanBeIncluded {
fields := log.Fields{"expression": expression, "parentId": parentId}

err := db.Model(&model.DishNameTagOptionIncluded{}).
err := db.
Session(&gorm.Session{Logger: logger.Default.LogMode(logger.Silent)}).
Create(&model.DishNameTagOptionIncluded{
Expression: expression,
Expand Down

0 comments on commit c8dde88

Please sign in to comment.