Files
admin.fellies.app/prisma/migrations/20250701224958_image_unique/migration.sql

13 lines
490 B
SQL

/*
Warnings:
- A unique constraint covering the columns `[fileKey]` on the table `Image` will be added. If there are existing duplicate values, this will fail.
- A unique constraint covering the columns `[originalFile]` on the table `Image` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "Image_fileKey_key" ON "Image"("fileKey");
-- CreateIndex
CREATE UNIQUE INDEX "Image_originalFile_key" ON "Image"("originalFile");