7 lines
241 B
SQL
7 lines
241 B
SQL
-- Your SQL goes here
|
|
CREATE TABLE guild_bans (
|
|
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)
|
|
);
|