Files

16 lines
410 B
SQL

/*
Warnings:
- A unique constraint covering the columns `[email]` on the table `Group` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "Group" ADD COLUMN "email" TEXT,
ADD COLUMN "password" TEXT;
-- AlterTable
ALTER TABLE "Player" ALTER COLUMN "number" DROP NOT NULL;
-- CreateIndex
CREATE UNIQUE INDEX "Group_email_key" ON "Group"("email");