124_webcalibre2/prisma/migrations/20260213150829_lock_hashes_unique/migration.sql

8 lines
247 B
SQL

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