feat: auth

This commit is contained in:
Dex404 2024-04-22 03:45:44 +00:00
parent 88c7d2e2c1
commit 16c730a69b
9 changed files with 477 additions and 121 deletions

20
prisma/schema.prisma Normal file
View file

@ -0,0 +1,20 @@
// 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"
}
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
model User {
id String @id @default(cuid())
name String?
email String? @unique
emailVerified DateTime?
image String?
password String?
}