feat: add collection functionality

This commit is contained in:
Daniel
2023-04-25 01:00:40 +03:30
parent b02766f6c8
commit 4bfb08a52e
12 changed files with 86 additions and 134 deletions
+1
View File
@@ -26,6 +26,7 @@ model User {
model Collection {
id Int @id @default(autoincrement())
name String
description String @default("")
owner User @relation(fields: [ownerId], references: [id])
ownerId Int
members UsersAndCollections[]