getEnvironment() == "thetool") { $table = $this->table("Contract"); $table->addColumn("vatgroup_id", "integer", ["null" => false, "after" => "price_setup"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $table = $this->table("Contract"); $table->removeColumn("vatgroup_id"); $table->update(); } if($this->getEnvironment() == "addressdb") { } } }