GPTcord/schema.prisma

27 lines
416 B
Text
Raw Normal View History

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?
usageReguest Int
usageResponse Int
functionName String?
functionRan Int @default(0)
}
model Limits {
user BigInt @id
limit Int?
vip Boolean @default(false)
}