fix: fixed the ban table names
This commit is contained in:
parent
b2e6d3f553
commit
af71937506
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE guild_bans (
|
||||
guild_ban uuid NOT NULL REFERENCES guilds(uuid) ON DELETE CASCADE,
|
||||
user_ban uuid NOT NULL REFERENCES users(uuid),
|
||||
guild_uuid uuid NOT NULL REFERENCES guilds(uuid) ON DELETE CASCADE,
|
||||
user_uuid uuid NOT NULL REFERENCES users(uuid),
|
||||
reason VARCHAR(200) DEFAULT NULL,
|
||||
PRIMARY KEY (user_uuid, guild_uuid)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue