GPTcord/schema.prisma
Wroclaw 58a054d137 Prisma: fix typo [breaking change]
also: bump version because of breaking change
2023-09-18 11:24:35 +02:00

26 lines
416 B
Text

generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
model Usage {
@@id([timestamp, functionRan])
timestamp DateTime
user BigInt
channel BigInt
guild BigInt?
usageRequest Int
usageResponse Int
functionName String?
functionRan Int @default(0)
}
model Limits {
user BigInt @id
limit Int?
vip Boolean @default(false)
}