getEnvironment() == "thetool") { $table = $this->table("PreorderBilling"); $table->addColumn("oaid", "string", ["null" => false, "limit" => 64, "after" => "preorder_id"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $table = $this->table("PreorderBilling"); $table->removeColumn("oaid"); $table->update(); } if($this->getEnvironment() == "addressdb") { } } }