getEnvironment() == "thetool") { } if($this->getEnvironment() == "addressdb") { $table = $this->table("Netzgebiet"); $table->addColumn("unit_create_oaid", "integer", ["null" => false, "default" => 0, "after" => "unit_count"]); $table->update(); } } public function down(): void { if($this->getEnvironment() == "thetool") { } if($this->getEnvironment() == "addressdb") { $this->table("Netzgebiet")->removeColumn("unit_create_oaid")->save(); } } }