CREATE TABLE IF NOT EXISTS video_performers (
    video_id INT UNSIGNED NOT NULL,
    performer_id INT UNSIGNED NOT NULL,
    PRIMARY KEY (video_id, performer_id),
    FOREIGN KEY (video_id) REFERENCES videos(id) ON DELETE CASCADE,
    FOREIGN KEY (performer_id) REFERENCES performers(id) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
