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