From 3677a21fc56756c55d19063cecb59c1fa5d12d6a Mon Sep 17 00:00:00 2001 From: Daniel Spitzer Date: Sun, 30 Nov 2025 19:23:19 +0100 Subject: [PATCH] =?UTF-8?q?Faserplanung=20*=20Migrations=20f=C3=BCr=20Kabe?= =?UTF-8?q?ln/Fasern/Kabelstationen/Homes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...d_field_fiber_plan_dispatcher_gis_uuid.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 db/migrations/20251130182044_add_field_fiber_plan_dispatcher_gis_uuid.php diff --git a/db/migrations/20251130182044_add_field_fiber_plan_dispatcher_gis_uuid.php b/db/migrations/20251130182044_add_field_fiber_plan_dispatcher_gis_uuid.php new file mode 100644 index 000000000..4aeb82833 --- /dev/null +++ b/db/migrations/20251130182044_add_field_fiber_plan_dispatcher_gis_uuid.php @@ -0,0 +1,31 @@ +getEnvironment() == "thetool") { + $table = $this->table("FiberPlanDispatcher", ["signed" => true]); + $table->addColumn("gis_uuid", "text", ["null" => false, "after" => "gps_long"]); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } + + public function down(): void + { + if($this->getEnvironment() == "thetool") { + $this->table("FiberPlanDispatcher")->removeColumn("gis_uuid")->save(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } +}