diff --git a/db/migrations/20250520132000_constr_cons_owner_add_company.php b/db/migrations/20250520132000_constr_cons_owner_add_company.php index 0d470c093..662bf9812 100644 --- a/db/migrations/20250520132000_constr_cons_owner_add_company.php +++ b/db/migrations/20250520132000_constr_cons_owner_add_company.php @@ -7,7 +7,7 @@ final class ConstrConsOwnerAddCompany extends AbstractMigration { public function up(): void { - if($this->getEnvironment() == "addressdb") { + if($this->getEnvironment() == "thetool") { $ConstructionConsentOwner = $this->table("ConstructionConsentOwner"); $ConstructionConsentOwner->addColumn("company", "string", ["limit" => 255, "null" => true]); @@ -17,7 +17,7 @@ final class ConstrConsOwnerAddCompany extends AbstractMigration public function down(): void { - if($this->getEnvironment() == "addressdb") { + if($this->getEnvironment() == "thetool") { $ConstructionConsentOwner = $this->table("ConstructionConsentOwner"); $ConstructionConsentOwner->removeColumn("company");