getEnvironment() == "thetool") { $table = $this->table("Address"); $table->addColumn("birthdate", "date", ["null" => true, "default" => null, "after" => "uid"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table("Address")->removeColumn("birthdate")->update(); } if($this->getEnvironment() == "addressdb") { } } }