mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
24 lines
623 B
Plaintext
24 lines
623 B
Plaintext
generator client {
|
|
provider = "prisma-client-js"
|
|
binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x"]
|
|
}
|
|
|
|
datasource db {
|
|
provider = "cockroachdb"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
model User {
|
|
blitz_id BigInt @id @map("blitz") // map: "blitz" was too vague
|
|
last_used DateTime? @default(now())
|
|
|
|
@@map("Users") // map: "Users" was mistakenly plural
|
|
}
|
|
|
|
model DiscordUser {
|
|
discord_id BigInt @id @map("discord") // map: "discord" was too vague
|
|
blitz_id BigInt @map("blitz") // map: "blitz" was too vague
|
|
|
|
@@map("DiscordUsers") // map: "DiscordUsers" was mistakenly plural
|
|
}
|