Isitha Tennakoon
added documentation to keygen code
c5ac4b3
raw
history blame contribute delete
356 Bytes
// Prisma Schema for API key DB
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DIRECT_URL") // Add this line yourself
}
model Key {
id String @id @default(uuid())
email String
apiKey String
createdAt DateTime @default(now())
}