From 69e178f8a53cf61d86c37a579779cfa3c76eec09 Mon Sep 17 00:00:00 2001 From: rabbitbike Date: Mon, 5 Feb 2024 22:12:43 -0800 Subject: [PATCH] fix migration down method for promotion_orders promotions foreign key --- .../20231031175215_add_promotion_order_promotion_foreign_key.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/db/migrate/20231031175215_add_promotion_order_promotion_foreign_key.rb b/core/db/migrate/20231031175215_add_promotion_order_promotion_foreign_key.rb index 289e1437d2a..cd5e1451758 100644 --- a/core/db/migrate/20231031175215_add_promotion_order_promotion_foreign_key.rb +++ b/core/db/migrate/20231031175215_add_promotion_order_promotion_foreign_key.rb @@ -5,6 +5,6 @@ def up end def down - remove_foreign_key :spree_orders_promotions, :spree_orders + remove_foreign_key :spree_orders_promotions, :spree_promotions end end