Add persistent local music catalog

This commit is contained in:
diyaa
2026-05-28 13:32:40 +02:00
parent 1674174a4e
commit 183d5db4a9
15 changed files with 1315 additions and 41 deletions
@@ -0,0 +1,26 @@
-- AlterTable
ALTER TABLE "artwork_assets" ALTER COLUMN "id" DROP DEFAULT;
-- AlterTable
ALTER TABLE "audio_assets" ALTER COLUMN "id" DROP DEFAULT;
-- AlterTable
ALTER TABLE "device_sync_cursors" ALTER COLUMN "updated_at" DROP DEFAULT;
-- AlterTable
ALTER TABLE "devices" ALTER COLUMN "id" DROP DEFAULT,
ALTER COLUMN "updated_at" DROP DEFAULT;
-- AlterTable
ALTER TABLE "tracks" ALTER COLUMN "id" DROP DEFAULT,
ALTER COLUMN "updated_at" DROP DEFAULT;
-- AlterTable
ALTER TABLE "upload_sessions" ALTER COLUMN "id" DROP DEFAULT,
ALTER COLUMN "updated_at" DROP DEFAULT;
-- RenameIndex
ALTER INDEX "artwork_assets_storage_key" RENAME TO "artwork_assets_storage_key_key";
-- RenameIndex
ALTER INDEX "audio_assets_storage_key" RENAME TO "audio_assets_storage_key_key";
@@ -1,2 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (e.g., Git)
provider = "postgresql"