ALTER TABLE `movies`
    DROP PRIMARY KEY,
    MODIFY COLUMN `user` VARCHAR(320) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
    ADD PRIMARY KEY (`title`, `year`, `size`, `hash`) USING BTREE,
    ADD UNIQUE INDEX `uid` (`title`, `year`, `size`, `hash`) USING BTREE;
