getEnvironment() == "thetool") { $table = $this->table("RimoWorkorder"); $table->changeColumn("create_data", "text", ['limit' => Phinx\Db\Adapter\MysqlAdapter::TEXT_MEDIUM]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { } if($this->getEnvironment() == "addressdb") { } } }