move schemas

This commit is contained in:
Emily 2022-12-10 23:18:14 +11:00
parent 03692a6f7b
commit 7683e56bb6
3 changed files with 0 additions and 0 deletions

17
schemas/guilds.sql Normal file
View file

@ -0,0 +1,17 @@
CREATE TABLE guilds(
guild_id bigint,
prefix text DEFAULT '~',
mutedRole bigint DEFAULT NULL,
autorole bigint DEFAULT NULL,
welcomeChannel bigint DEFAULT NULL,
welcomeMessage varchar(2000) DEFAULT 'Hey there {{user}}, and welcome to {{server}}!',
leaveChannel bigint DEFAULT NULL,
leaveMessage varchar(2000) DEFAULT 'See you around, {{user}}.',
chatlogsChannel bigint DEFAULT NULL,
modlogsChannel bigint DEFAULT NULL,
starboardChannel bigint DEFAULT NULL,
blocklist bigint[] DEFAULT '{}',
disabledCommands text[] DEFAULT '{}',
disabledCategories text[] DEFAULT '{}',
PRIMARY KEY (guild_id)
);

5
schemas/members.sql Normal file
View file

@ -0,0 +1,5 @@
CREATE TABLE members(
member_id varchar(37),
experience bigint DEFAULT 0,
PRIMARY KEY (member_id)
);

10
schemas/users.sql Normal file
View file

@ -0,0 +1,10 @@
CREATE TABLE users(
user_id bigint DEFAULT NULL,
prefix text DEFAULT '~',
experience bigint DEFAULT 0,
seashells bigint DEFAULT 0,
relationships bigint[] DEFAULT '{}',
pronouns text DEFAULT NULL,
colour text DEFAULT NULL,
PRIMARY KEY (user_id)
);