Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -26,6 +26,7 @@ model User { | ... | @@ -26,6 +26,7 @@ model User { |
26 | 26 | ||
27 | model Room { | 27 | model Room { |
28 | id Int @default(autoincrement()) @id | 28 | id Int @default(autoincrement()) @id |
29 | + name String | ||
29 | participants User[] @relation(references: [id]) | 30 | participants User[] @relation(references: [id]) |
30 | categories Category[] | 31 | categories Category[] |
31 | Message Message[] | 32 | Message Message[] | ... | ... |
-
Please register or login to post a comment