CREATE TABLE video_playlist (
    video_id BIGINT NOT NULL,
    playlist_id BIGINT NOT NULL,
    PRIMARY KEY (video_id, playlist_id),
    FOREIGN KEY (video_id) REFERENCES videos(id) ON DELETE CASCADE,
    FOREIGN KEY (playlist_id) REFERENCES playlists(id) ON DELETE CASCADE
);