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