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