finally working packaging

This commit is contained in:
Micha Albert 2024-08-15 19:24:05 +00:00
parent e669a755ec
commit f57c38250a
6 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,28 @@
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])
}