getEnvironment() == "thetool") { $WarehouseShippingNote = $this->table("WarehouseShippingNote", ["signed" => true]); // change column hoursEntries to text without limit $WarehouseShippingNote->changeColumn("hoursEntries", "text", ["null" => true]); $WarehouseShippingNote->save(); } if ($this->getEnvironment() == "addressdb") { } } public function down(): void { if ($this->getEnvironment() == "thetool") { $WarehouseShippingNote = $this->table("WarehouseShippingNote"); $WarehouseShippingNote->changeColumn("hoursEntries", "text", ["limit" => 255, "null" => true]); $WarehouseShippingNote->save(); } } }