diff options
| author | ilotterytea <iltsu@alright.party> | 2025-07-03 18:04:24 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-07-03 18:04:24 +0500 |
| commit | 1e8f182b083679b06d8e30fe52b1ed1130a19287 (patch) | |
| tree | b14bb841d07bc2ef87820e43fb00c19783cfc167 /migrations/2025-07-04T09-50-32_globalcommands | |
| parent | 406e08a3a1f42a014affc35bb399a32ff9cbff96 (diff) | |
feat: global commands
Diffstat (limited to 'migrations/2025-07-04T09-50-32_globalcommands')
| -rw-r--r-- | migrations/2025-07-04T09-50-32_globalcommands/down.sql | 2 | ||||
| -rw-r--r-- | migrations/2025-07-04T09-50-32_globalcommands/up.sql | 2 |
2 files changed, 4 insertions, 0 deletions
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 |
