nest-autocrud/prisma/schema.prisma
2024-10-26 20:01:34 +07:00

24 lines
603 B
Plaintext

// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
generator client {
provider = "prisma-client-js"
previewFeatures = ["postgresqlExtensions"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
extensions = [pgcrypto]
}
model User {
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
name String
@@map("account")
}