make tags visible on public collections

This commit is contained in:
daniel31x13
2024-11-02 18:16:38 -04:00
parent d86bbcd940
commit 2e1e94112f
6 changed files with 102 additions and 127 deletions
@@ -1,2 +0,0 @@
-- AlterTable
ALTER TABLE "Collection" ADD COLUMN "tagsArePublic" BOOLEAN NOT NULL DEFAULT false;
-1
View File
@@ -105,7 +105,6 @@ 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[]