diff options
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 |
