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