getEnvironment() == "thetool") { $ConstructionConsentTable = $this->table("ConstructionConsent"); if (!$ConstructionConsentTable->hasColumn("prioritize")) { $ConstructionConsentTable ->addColumn("prioritize", "tinyinteger", ["default" => 0]) ->update(); } } } public function down(): void { if ($this->getEnvironment() == "thetool") { $ConstructionConsentTable = $this->table("ConstructionConsent"); if ($ConstructionConsentTable->hasColumn("prioritize")) { $ConstructionConsentTable ->removeColumn("prioritize") ->update(); } } } }