7 lines
239 B
SQL
7 lines
239 B
SQL
-- 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),
|
|
reason VARCHAR(200) DEFAULT NULL,
|
|
PRIMARY KEY (user_uuid, guild_uuid)
|
|
);
|