From 104b037d4070bc639e01d2af321129d621aa1d68 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 18 Mar 2024 00:23:53 +0100 Subject: [PATCH] fixed build-error --- server/backend/migration/20240320000000.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/backend/migration/20240320000000.go b/server/backend/migration/20240320000000.go index 9cc5984d..35d55fc6 100644 --- a/server/backend/migration/20240320000000.go +++ b/server/backend/migration/20240320000000.go @@ -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 },