mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 10:13:41 -05:00
Restructure repo
This commit is contained in:
parent
65ddf2c73d
commit
ccdddb005d
21 changed files with 0 additions and 36 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 User @relation(fields: [user_id], references: [id])
|
||||
user_id String @unique
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue