From 6817563c5915614521e6e7b7b50d0242818949d1 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Mon, 19 Jan 2026 16:31:17 +0100 Subject: [PATCH] Fixed OrderProduct migration --- .../20260116152525_order_product_add_preorder_data.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrations/20260116152525_order_product_add_preorder_data.php b/db/migrations/20260116152525_order_product_add_preorder_data.php index 60a97d35b..6afa39742 100644 --- a/db/migrations/20260116152525_order_product_add_preorder_data.php +++ b/db/migrations/20260116152525_order_product_add_preorder_data.php @@ -10,8 +10,8 @@ final class OrderProductAddPreorderData extends AbstractMigration if($this->getEnvironment() == "thetool") { $table = $this->table("OrderProduct"); $table->addColumn("oaid", "string", ["null" => true, "default" => null, "limit" => 255, "after" => "termination_id"]); - $table->addColumn("preorder_id", "integer", ["null" => true, "default" => null, "after" => "preorder_id"]); - $table->addColumn("snopp_order_id", "integer", ["null" => true, "default" => null, "after" => "oaid"]); + $table->addColumn("preorder_id", "integer", ["null" => true, "default" => null, "after" => "oaid"]); + $table->addColumn("snopp_order_id", "integer", ["null" => true, "default" => null, "after" => "preorder_id"]); $table->update(); }