-- Your SQL goes here

create table gamenight_gamelist (
    gamenight_id UUID NOT NULL,
    game_id UUID NOT NULL,
    CONSTRAINT FK_gamenight_id FOREIGN KEY (gamenight_id) REFERENCES gamenight(id) ON DELETE CASCADE,
    CONSTRAINT FK_game_id FOREIGN KEY (game_id) REFERENCES known_games(id) ON DELETE CASCADE,
    PRIMARY KEY(gamenight_id, game_id)
);