Add song skip/displayname to schema

This commit is contained in:
jeffvli
2022-11-08 14:32:01 -08:00
parent e6bf71dcfe
commit a326355576
2 changed files with 24 additions and 8 deletions
@@ -0,0 +1,14 @@
/*
Warnings:
- A unique constraint covering the columns `[displayName]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "Song" ADD COLUMN "skip" BOOLEAN NOT NULL DEFAULT false;
-- AlterTable
ALTER TABLE "User" ADD COLUMN "displayName" TEXT;
-- CreateIndex
CREATE UNIQUE INDEX "User_displayName_key" ON "User"("displayName");