-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathschema.sql
57 lines (49 loc) · 1.05 KB
/
schema.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
CREATE TABLE IF NOT EXISTS chatbot (
channel_id BIGINT PRIMARY KEY
);
CREATE TABLE IF NOT EXISTS levels_config (
guild_id BIGINT PRIMARY KEY,
channel_id BIGINT,
ping TEXT
);
CREATE TABLE IF NOT EXISTS prefix (
user_id BIGINT PRIMARY KEY,
prefixes TEXT
);
CREATE TABLE IF NOT EXISTS users (
user_id BIGINT PRIMARY KEY,
guild_id BIGINT,
xp INT,
level INT,
name TEXT
);
CREATE TABLE IF NOT EXISTS channels_config (
channel_id BIGINT PRIMARY KEY,
channel_types TEXT
);
CREATE TABLE IF NOT EXISTS snipe (
id BIGINT PRIMARY KEY,
channel_id BIGINT,
user_id BIGINT,
message_content TEXT,
create_epoch DATE
);
CREATE TABLE IF NOT EXISTS edit_snipe (
id BIGINT PRIMARY KEY,
channel_id BIGINT,
user_id BIGINT,
before_content TEXT,
after_content TEXT,
create_epoch DATE
);
CREATE TABLE IF NOT EXISTS overall_score (
score INT
);
CREATE TABLE IF NOT EXISTS general_data (
create_epoch DATE,
ping INT,
users INT,
guilds INT,
channels INT,
disnake_version INT
);