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") { + + } + } +}