Switch to migrations

This commit is contained in:
Tarrgon
2026-06-02 10:35:45 -04:00
parent e6fb923531
commit 8a958ed326
2 changed files with 33 additions and 10 deletions
+16
View File
@@ -0,0 +1,16 @@
--------------------------------------------------------------------------------
-- Up
--------------------------------------------------------------------------------
ALTER TABLE settings ADD appeals_channel_id TEXT;
CREATE TABLE appeals (
id INTEGER PRIMARY KEY,
message_id TEXT NOT NULL
);
--------------------------------------------------------------------------------
-- Down
--------------------------------------------------------------------------------
ALTER TABLE settings DROP COLUMN appeals_channel_id;
DROP TABLE appeals;