getEnvironment() == "thetool") { $ConstructionConsentOwner = $this->table("ConstructionConsentOwner"); $ConstructionConsentOwner->addColumn("company", "string", ["limit" => 255, "null" => true]); $ConstructionConsentOwner->update(); } } public function down(): void { if($this->getEnvironment() == "thetool") { $ConstructionConsentOwner = $this->table("ConstructionConsentOwner"); $ConstructionConsentOwner->removeColumn("company"); $ConstructionConsentOwner->update(); } } }