Tags in public collection

This commit is contained in:
Oliver Schwamb
2024-07-05 10:40:40 +02:00
parent 4640c1c966
commit a1f48bbd79
4 changed files with 91 additions and 1 deletions
+1
View File
@@ -87,6 +87,7 @@ model Collection {
parent Collection? @relation("SubCollections", fields: [parentId], references: [id])
subCollections Collection[] @relation("SubCollections")
isPublic Boolean @default(false)
tagsArePublic Boolean @default(false)
owner User @relation(fields: [ownerId], references: [id])
ownerId Int
members UsersAndCollections[]