From 1ce37e777088a75aff68ed5389e0a0d839551951 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 11 Sep 2025 10:02:45 -0700 Subject: [PATCH] add `use_for_new_networks` column in controller table --- .../migrations/0004_use_controller_flag.down.sql | 1 + .../migrations/0004_use_controller_flag.up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 ext/central-controller-docker/migrations/0004_use_controller_flag.down.sql create mode 100644 ext/central-controller-docker/migrations/0004_use_controller_flag.up.sql diff --git a/ext/central-controller-docker/migrations/0004_use_controller_flag.down.sql b/ext/central-controller-docker/migrations/0004_use_controller_flag.down.sql new file mode 100644 index 000000000..afcd9c3f7 --- /dev/null +++ b/ext/central-controller-docker/migrations/0004_use_controller_flag.down.sql @@ -0,0 +1 @@ +ALTER TABLE controllers_ctl DROP COLUMN IF EXISTS use_for_new_networks; \ No newline at end of file diff --git a/ext/central-controller-docker/migrations/0004_use_controller_flag.up.sql b/ext/central-controller-docker/migrations/0004_use_controller_flag.up.sql new file mode 100644 index 000000000..b723b0172 --- /dev/null +++ b/ext/central-controller-docker/migrations/0004_use_controller_flag.up.sql @@ -0,0 +1 @@ +ALTER TABLE controllers_ctl ADD COLUMN IF NOT EXISTS use_for_new_networks boolean DEFAULT true NOT NULL; \ No newline at end of file