getEnvironment() == "thetool") { $table = $this->table("Invoice"); $table->addColumn("date_delivered", "integer", ["null" => true, "default" => null, "after" => "bmd_export_date"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table("Invoice")->removeColumn("date_delivered")->save(); } if($this->getEnvironment() == "addressdb") { } } }