file-uploader/prisma/migrations/20240829095034_thumbnail_id/migration.sql

12 lines
470 B
MySQL
Raw Permalink Normal View History

2024-08-29 10:24:27 +00:00
/*
Warnings:
- The primary key for the `Thumbnail` table will be changed. If it partially fails, the table could be left without primary key constraint.
- You are about to alter the column `id` on the `Thumbnail` table. The data in that column could be lost. The data in that column will be cast from `VarChar(191)` to `Int`.
*/
-- AlterTable
ALTER TABLE `Thumbnail` DROP PRIMARY KEY,
MODIFY `id` INTEGER NOT NULL AUTO_INCREMENT,
ADD PRIMARY KEY (`id`);