diff --git a/db/migrations/20250122090000_eshop_add_additional.php b/db/migrations/20250122090000_eshop_add_additional.php new file mode 100644 index 000000000..3e705612a --- /dev/null +++ b/db/migrations/20250122090000_eshop_add_additional.php @@ -0,0 +1,24 @@ +getEnvironment() == "thetool") { + $table = $this->table("WarehouseEShopOrder"); + $table->addColumn("deliveryAddressAdditional", "string", ["limit" => 255, "null" => true]); + $table->save();; + } + } + + public function down(): void + { + if ($this->getEnvironment() == "thetool") { + $table = $this->table("WarehouseEShopOrder"); + $table->removeColumn("deliveryAddressAdditional"); + $table->save();; + } + } +}