getEnvironment() == "thetool") { $WarehouseHistory = $this->table("WarehouseHistory", ["signed" => true]); $WarehouseHistory->changeColumn("old_value", "text", ["null" => true]); $WarehouseHistory->changeColumn("new_value", "text", ["null" => true]); $WarehouseHistory->save(); } if ($this->getEnvironment() == "addressdb") { } } public function down(): void { if ($this->getEnvironment() == "thetool") { $WarehouseHistory = $this->table("WarehouseHistory", ["signed" => true]); $WarehouseHistory->changeColumn("old_value", "string", ["null" => true, "limit" => 255]); $WarehouseHistory->changeColumn("new_value", "string", ["null" => true, "limit" => 255]); $WarehouseHistory->save(); } if ($this->getEnvironment() == "addressdb") { } } }