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