ecomm/prisma/schema.prisma

18 lines
356 B
Text
Raw Normal View History

2023-06-08 11:05:28 +00:00
datasource db {
provider = "mongodb"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
model User {
id String @id @default(cuid()) @map("_id")
firstName String
lastName String
email String @unique
password String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}