2024-07-09 21:54:17 -07:00
|
|
|
// This is your Prisma schema file,
|
|
|
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
|
|
|
|
|
|
generator client {
|
|
|
|
provider = "prisma-client-js"
|
2024-07-11 02:38:57 -07:00
|
|
|
binaryTargets = ["native", "debian-openssl-1.1.x"]
|
2024-07-09 21:54:17 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
datasource db {
|
|
|
|
provider = "sqlite"
|
|
|
|
url = env("DATABASE_URL")
|
|
|
|
}
|
|
|
|
|
|
|
|
model Token {
|
|
|
|
id String @id @unique @default(uuid())
|
2024-07-10 00:23:38 -07:00
|
|
|
owner String
|
2024-07-09 21:54:17 -07:00
|
|
|
token String
|
2024-07-10 00:23:38 -07:00
|
|
|
refreshToken String?
|
2024-07-10 19:17:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
model User {
|
|
|
|
userId String @id @unique
|
|
|
|
identifier String
|
2024-07-09 21:54:17 -07:00
|
|
|
}
|