getEnvironment() == "thetool") { $table = $this->table("Preorder"); $table->addColumn("activation_billing", "integer", ["default" => 0, "length" => \Phinx\Db\Adapter\MysqlAdapter::INT_TINY, "after" => "order_date"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $table = $this->table("Preorder"); $table->removeColumn("activation_billing"); $table->update(); } if($this->getEnvironment() == "addressdb") { } } }