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(); }