21 lines
507 B
Plaintext
21 lines
507 B
Plaintext
|
// 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 = "mysql"
|
||
|
url = env("DATABASE_URL")
|
||
|
}
|
||
|
|
||
|
model Users {
|
||
|
id Int @id @default(autoincrement())
|
||
|
email String @db.VarChar(255) @unique
|
||
|
name String @db.VarChar(255)
|
||
|
token String @db.VarChar(255)
|
||
|
details Json
|
||
|
createdAt DateTime @default(now())
|
||
|
updatedAt DateTime @default(now())
|
||
|
}
|