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