mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 08:13:41 -05:00
promptly package python projects properly (breaking changes, sorry)
This commit is contained in:
parent
2d8079f6e8
commit
e669a755ec
7 changed files with 106 additions and 10 deletions
|
|
@ -1,28 +0,0 @@
|
|||
generator client {
|
||||
provider = "prisma-client-py"
|
||||
interface = "asyncio"
|
||||
recursive_type_depth = "5"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "sqlite"
|
||||
url = "file:./dev.db"
|
||||
}
|
||||
|
||||
model User {
|
||||
id String @id @default(cuid())
|
||||
created_at DateTime @default(now())
|
||||
slack_id String @unique
|
||||
name String
|
||||
stream Stream?
|
||||
}
|
||||
|
||||
model Stream {
|
||||
id String @id @default(cuid())
|
||||
created_at DateTime @default(now())
|
||||
is_live Boolean @default(false)
|
||||
is_focused Boolean @default(false)
|
||||
key String @unique @default(uuid())
|
||||
user_id String @unique
|
||||
user User @relation(fields: [user_id], references: [id])
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue