mirror of
https://github.com/EdiFarcas/Giveaway-app.git
synced 2026-06-29 11:01:02 +03:00
17 lines
625 B
SQL
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");
|