1
0
Fork 0
gluestick/prisma/schema.prisma

27 lines
498 B
Plaintext
Raw Normal View History

2023-04-25 01:13:35 -04:00
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = "file:./database.db"
}
model AuthTicket {
id Int @id @default(autoincrement())
username String?
ticket String
discordAuth DiscordAuth?
}
model DiscordAuth {
id String @id
authTicket AuthTicket @relation(fields: [authTicketId], references: [id])
authTicketId Int @unique
accessToken String
refreshToken String
refreshAt DateTime
}