added the ability for the users to hide there profile
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ CREATE TABLE "User" (
|
||||
"name" TEXT NOT NULL,
|
||||
"email" TEXT NOT NULL,
|
||||
"password" TEXT NOT NULL,
|
||||
"collectionProtection" BOOLEAN NOT NULL DEFAULT false,
|
||||
"isPrivate" BOOLEAN NOT NULL DEFAULT false,
|
||||
"whitelistedUsers" TEXT[] DEFAULT ARRAY[]::TEXT[],
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
@@ -20,7 +20,7 @@ model User {
|
||||
collections Collection[]
|
||||
tags Tag[]
|
||||
collectionsJoined UsersAndCollections[]
|
||||
collectionProtection Boolean @default(false)
|
||||
isPrivate Boolean @default(false)
|
||||
whitelistedUsers String[] @default([])
|
||||
createdAt DateTime @default(now())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user