From d52b8f7f81f074b2e4aafcf5a40209265713d83a Mon Sep 17 00:00:00 2001 From: SoXX Date: Tue, 21 Jan 2025 15:10:48 +0100 Subject: [PATCH] feat: Add new columns "enabled" and "meta" to "Source" table with defaults Signed-off-by: SoXX --- pkg/database/migrations/009_source_model_enhancements.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 pkg/database/migrations/009_source_model_enhancements.sql diff --git a/pkg/database/migrations/009_source_model_enhancements.sql b/pkg/database/migrations/009_source_model_enhancements.sql new file mode 100644 index 0000000..f799982 --- /dev/null +++ b/pkg/database/migrations/009_source_model_enhancements.sql @@ -0,0 +1,5 @@ +-- +migrate Up + +ALTER TABLE "Source" + ADD COLUMN enabled BOOL DEFAULT FALSE, + ADD COLUMN meta JSON DEFAULT '{}';