1
0
Fork 0
gluestick/prisma/schema.prisma

27 lines
498 B
Plaintext

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
}