24 lines
334 B
Text
24 lines
334 B
Text
|
generator client {
|
||
|
provider = "prisma-client-js"
|
||
|
}
|
||
|
|
||
|
datasource db {
|
||
|
provider = "sqlite"
|
||
|
url = env("DATABASE_URL")
|
||
|
}
|
||
|
|
||
|
model Usage {
|
||
|
timestamp DateTime @id
|
||
|
user BigInt
|
||
|
channel BigInt
|
||
|
guild BigInt?
|
||
|
usageReguest Int
|
||
|
usageResponse Int
|
||
|
}
|
||
|
|
||
|
model Limits {
|
||
|
user BigInt @id
|
||
|
limit Int?
|
||
|
vip Boolean @default(false)
|
||
|
}
|