getEnvironment() == "thetool") { $WarehouseOffer = $this->table("WarehouseOffer"); if ($WarehouseOffer->hasColumn("customerVAT")) { $WarehouseOffer ->changeColumn("customerVAT", "string", ["limit" => 255, "null" => true]) ->update(); } } } public function down(): void { if ($this->getEnvironment() == "thetool") { $WarehouseOffer = $this->table("WarehouseOffer"); if ($WarehouseOffer->hasColumn("customerVAT")) { $WarehouseOffer ->changeColumn("customerVAT", "string", ["limit" => 255, "null" => false]) ->update(); } } } }