fix: fixed the ban table names

This commit is contained in:
BAaboe 2025-07-22 22:01:48 +02:00
parent b2e6d3f553
commit af71937506

View file

@ -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)
);