mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 08:13:41 -05:00
fix what would have been a really bad time with the db
This commit is contained in:
parent
7e0ad4d1e2
commit
36e70429de
2 changed files with 43 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
generator client {
|
||||
provider = "prisma-client-py"
|
||||
interface = "asyncio"
|
||||
recursive_type_depth = 5
|
||||
recursive_type_depth = "5"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
|
|
@ -23,6 +23,6 @@ model Stream {
|
|||
is_live Boolean @default(false)
|
||||
is_focused Boolean @default(false)
|
||||
key String @unique @default(uuid())
|
||||
user User @relation(fields: [user_id], references: [id])
|
||||
user_id String @unique
|
||||
user User @relation(fields: [user_id], references: [id])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue