fixed db name in constr_cons_owner_add_signature

This commit is contained in:
Frank Schubert
2025-05-16 21:58:47 +02:00
parent fdbd8ed01c
commit 1cd9587803

View File

@@ -7,7 +7,7 @@ final class ConstrConsOwnerAddSignature extends AbstractMigration
{
public function up(): void
{
if($this->getEnvironment() == "addressdb") {
if($this->getEnvironment() == "thetool") {
$ConstructionConsentOwner = $this->table("ConstructionConsentOwner");
$ConstructionConsentOwner->addColumn("signature", "text", ["null" => true]);
$ConstructionConsentOwner->addColumn("signature_name", "string", ["limit" => 255, "null" => true]);
@@ -19,7 +19,7 @@ final class ConstrConsOwnerAddSignature extends AbstractMigration
public function down(): void
{
if($this->getEnvironment() == "addressdb") {
if($this->getEnvironment() == "thetool") {
$ConstructionConsentOwner = $this->table("ConstructionConsentOwner");
$ConstructionConsentOwner->removeColumn("signature");
$ConstructionConsentOwner->removeColumn("signature_name");
@@ -28,4 +28,4 @@ final class ConstrConsOwnerAddSignature extends AbstractMigration
$ConstructionConsentOwner->update();
}
}
}
}