added settings modal UI

This commit is contained in:
Daniel
2023-05-18 21:32:17 +03:30
parent a5d0d08c93
commit e3862188de
15 changed files with 74 additions and 24 deletions
@@ -0,0 +1,4 @@
-- AlterTable
ALTER TABLE "User" ADD COLUMN "collectionProtection" BOOLEAN NOT NULL DEFAULT true,
ADD COLUMN "profilePhotoPath" TEXT NOT NULL DEFAULT '',
ADD COLUMN "whitelistedUsers" TEXT[] DEFAULT ARRAY[]::TEXT[];
+3
View File
@@ -20,6 +20,9 @@ model User {
collections Collection[]
tags Tag[]
collectionsJoined UsersAndCollections[]
collectionProtection Boolean @default(true)
whitelistedUsers String[] @default([])
profilePhotoPath String @default("")
createdAt DateTime @default(now())
}