fully added profile photo submission

This commit is contained in:
Daniel
2023-05-22 15:50:48 +03:30
parent 22d8178c88
commit 59e4dc471f
13 changed files with 194 additions and 70 deletions
@@ -6,7 +6,6 @@ CREATE TABLE "User" (
"password" TEXT NOT NULL,
"collectionProtection" BOOLEAN NOT NULL DEFAULT false,
"whitelistedUsers" TEXT[] DEFAULT ARRAY[]::TEXT[],
"profilePhotoPath" TEXT NOT NULL DEFAULT '',
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "User_pkey" PRIMARY KEY ("id")
-1
View File
@@ -22,7 +22,6 @@ model User {
collectionsJoined UsersAndCollections[]
collectionProtection Boolean @default(false)
whitelistedUsers String[] @default([])
profilePhotoPath String @default("")
createdAt DateTime @default(now())
}