getEnvironment() == "thetool") { $WarehouseShippingNote = $this->table("WarehouseShippingNote"); $WarehouseShippingNote->addColumn('eShopOrderId', 'integer', ['null' => true]); $WarehouseShippingNote->update(); } } public function down(): void { if ($this->getEnvironment() == "thetool") { $WarehouseShippingNote = $this->table("WarehouseShippingNote"); $WarehouseShippingNote->removeColumn('eShopOrderId'); $WarehouseShippingNote->update(); } } }