aboutsummaryrefslogtreecommitdiff
path: root/migrations/20220112135205_reactionroles.sql
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-01-12 15:45:20 -0500
committerCara Salter <cara@devcara.com>2022-01-12 15:45:20 -0500
commit67e4081aa69f489ad88ee064402d68a5969069c2 (patch)
treec69b79679d35df650b684fa487b1725b3c211250 /migrations/20220112135205_reactionroles.sql
parent6bc33b93eb5d55fb855803b0bf8cf7658a60e2b1 (diff)
downloadglitch-ng-67e4081aa69f489ad88ee064402d68a5969069c2.tar.gz
glitch-ng-67e4081aa69f489ad88ee064402d68a5969069c2.zip
rroles: Implement Reaction Roles
now requires postgresql.
Diffstat (limited to 'migrations/20220112135205_reactionroles.sql')
-rw-r--r--migrations/20220112135205_reactionroles.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/migrations/20220112135205_reactionroles.sql b/migrations/20220112135205_reactionroles.sql
new file mode 100644
index 0000000..303e025
--- /dev/null
+++ b/migrations/20220112135205_reactionroles.sql
@@ -0,0 +1,9 @@
+-- Add migration script here
+CREATE TABLE reaction_roles (
+ id SERIAL PRIMARY KEY,
+ channel_id TEXT NOT NULL,
+ message_id TEXT NOT NULL,
+ guild_id TEXT NOT NULL,
+ reaction TEXT NOT NULL,
+ role_id TEXT NOT NULL
+);