user/prisma/schema.prisma

24 lines
487 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 = "postgresql"
url = env("DATABASE_URL")
}
model User {
uuid String @id @default(uuid()) @db.Uuid
firstName String?
lastName String?
email String? @unique
phone String? @unique
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@map("user")
}