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