15 lines
367 B
SQL
15 lines
367 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[name,userId]` on the table `Label` will be added. If there are existing duplicate values, this will fail.
|
|
|
|
*/
|
|
-- DropIndex
|
|
DROP INDEX "Label_name_key";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "User" ADD COLUMN "password" TEXT;
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "Label_name_userId_key" ON "Label"("name", "userId");
|