Files

17 lines
625 B
SQL

/*
Warnings:
- A unique constraint covering the columns `[youtubeHandle]` on the table `User` will be added. If there are existing duplicate values, this will fail.
- A unique constraint covering the columns `[youtubeChannelId]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "User" ADD COLUMN "youtubeChannelId" TEXT,
ADD COLUMN "youtubeHandle" TEXT;
-- CreateIndex
CREATE UNIQUE INDEX "User_youtubeHandle_key" ON "User"("youtubeHandle");
-- CreateIndex
CREATE UNIQUE INDEX "User_youtubeChannelId_key" ON "User"("youtubeChannelId");