Skip to content

Commit

Permalink
fixed build-error
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Mar 17, 2024
1 parent 38ddbff commit 104b037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/backend/migration/20240320000000.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func migrate20240320000000() *gormigrate.Migration {
Rollback: func(tx *gorm.DB) error {
for _, fk := range missingDishFKs() {
tx.Exec(fmt.Sprintf("alter table `%s` drop foreign key %s_%s_%s_fk",
fk.fromTable, fk.fromTable, fk.toTable, fk.toColumn, fk.fromColumn, fk.toTable, fk.toColumn))
fk.fromTable, fk.fromTable, fk.toTable, fk.toColumn))
}
return nil
},
Expand Down

0 comments on commit 104b037

Please sign in to comment.