Files
auth/backend/prisma/schema.prisma
2022-09-08 21:43:50 +02:00

21 lines
445 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 {
id String @id @default(uuid())
email String @unique
password String?
time_joined Int?
createdAt DateTime? @default(now())
updatedAt DateTime? @updatedAt
}