diff --git a/Layout/default/ConstructionConsent/View.php b/Layout/default/ConstructionConsent/View.php index 8d017467d..f5dcfc1fd 100644 --- a/Layout/default/ConstructionConsent/View.php +++ b/Layout/default/ConstructionConsent/View.php @@ -600,6 +600,7 @@ $pagination_entity_name = "Adressen"; + diff --git a/db/migrations/20250226143311_construction_consent_contact_add_owner.php b/db/migrations/20250226143311_construction_consent_contact_add_owner.php new file mode 100644 index 000000000..424cde749 --- /dev/null +++ b/db/migrations/20250226143311_construction_consent_contact_add_owner.php @@ -0,0 +1,31 @@ +getEnvironment() == "thetool") { + $table = $this->table("ConstructionConsentContact"); + $table->changeColumn("type", "enum", ["null" => false, "values" => ["contact", "property_manager", "electrician", "other", "owner"]]); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } + + public function down(): void + { + if($this->getEnvironment() == "thetool") { + + } + + if($this->getEnvironment() == "addressdb") { + + } + } +}