Made name field on Language Unique

This commit is contained in:
Florian Sylvain
2023-01-30 08:45:34 +01:00
parent cdf73b32a0
commit 34c5aa0e37
2 changed files with 9 additions and 1 deletions
@@ -0,0 +1,8 @@
/*
Warnings:
- A unique constraint covering the columns `[name]` on the table `Language` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX `Language_name_key` ON `Language`(`name`);