From 1e8f182b083679b06d8e30fe52b1ed1130a19287 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 3 Jul 2025 18:04:24 +0500 Subject: feat: global commands --- migrations/2025-07-04T09-50-32_globalcommands/down.sql | 2 ++ migrations/2025-07-04T09-50-32_globalcommands/up.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 migrations/2025-07-04T09-50-32_globalcommands/down.sql create mode 100644 migrations/2025-07-04T09-50-32_globalcommands/up.sql (limited to 'migrations/2025-07-04T09-50-32_globalcommands') diff --git a/migrations/2025-07-04T09-50-32_globalcommands/down.sql b/migrations/2025-07-04T09-50-32_globalcommands/down.sql new file mode 100644 index 0000000..deb876e --- /dev/null +++ b/migrations/2025-07-04T09-50-32_globalcommands/down.sql @@ -0,0 +1,2 @@ +-- This file should undo anything in 'up.sql' +ALTER TABLE custom_commands DROP COLUMN is_global; \ No newline at end of file diff --git a/migrations/2025-07-04T09-50-32_globalcommands/up.sql b/migrations/2025-07-04T09-50-32_globalcommands/up.sql new file mode 100644 index 0000000..f6ae919 --- /dev/null +++ b/migrations/2025-07-04T09-50-32_globalcommands/up.sql @@ -0,0 +1,2 @@ +-- Your SQL goes here +ALTER TABLE custom_commands ADD COLUMN is_global BOOLEAN NOT NULL DEFAULT FALSE; \ No newline at end of file -- cgit v1.2.3