diff --git a/resources/CreateDatabase.sql b/resources/CreateDatabase.sql index ace0e79..a2384f9 100644 --- a/resources/CreateDatabase.sql +++ b/resources/CreateDatabase.sql @@ -99,4 +99,11 @@ CREATE TABLE IF NOT EXISTS feedback ( content TEXT NOT NULL, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, accepted BOOLEAN +); + +CREATE TABLE IF NOT EXISTS free_games_channel ( + id SERIAL PRIMARY KEY, + discord_server_id BIGINT REFERENCES discord_server(discord_server_id), + discord_channel_id BIGINT REFERENCES discord_channel(discord_channel_id), + UNIQUE (discord_server_id, discord_channel_id) ); \ No newline at end of file