From 09e2987c14adfb174210a65af9824e6eaf5874f4 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Tue, 26 May 2026 07:27:17 -0400 Subject: [PATCH] feat(db): add growing_enabled column to recorders (migration 014) --- .../src/db/migrations/014-add-recorder-growing-enabled.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 services/mam-api/src/db/migrations/014-add-recorder-growing-enabled.sql diff --git a/services/mam-api/src/db/migrations/014-add-recorder-growing-enabled.sql b/services/mam-api/src/db/migrations/014-add-recorder-growing-enabled.sql new file mode 100644 index 0000000..7e4166e --- /dev/null +++ b/services/mam-api/src/db/migrations/014-add-recorder-growing-enabled.sql @@ -0,0 +1,7 @@ +-- Migration 014: Per-recorder growing_enabled override +-- Adds a nullable boolean to the recorders table so each recorder can +-- independently override the global growing_enabled setting. NULL means +-- "use global"; TRUE/FALSE means "force on/off for this recorder". + +ALTER TABLE recorders + ADD COLUMN IF NOT EXISTS growing_enabled BOOLEAN DEFAULT NULL;