Schema fixes

This commit is contained in:
jeffvli
2022-11-21 09:58:00 -08:00
parent eb7e259c86
commit 2013c46991
2 changed files with 18 additions and 5 deletions
@@ -0,0 +1,14 @@
/*
Warnings:
- You are about to drop the column `skip` on the `Song` table. All the data in the column will be lost.
*/
-- DropIndex
DROP INDEX "ServerFolder_remoteId_key";
-- AlterTable
ALTER TABLE "Song" DROP COLUMN "skip",
ALTER COLUMN "duration" DROP NOT NULL,
ALTER COLUMN "bitRate" DROP NOT NULL,
ALTER COLUMN "discNumber" DROP NOT NULL;