promptly package python projects properly (breaking changes, sorry)

This commit is contained in:
Micha Albert 2024-08-15 19:00:38 +00:00
parent 2d8079f6e8
commit e669a755ec
7 changed files with 106 additions and 10 deletions

View file

@ -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])
}