-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.prisma
38 lines (34 loc) · 1.24 KB
/
schema.prisma
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// 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"
binaryTargets = ["native", "linux-arm64-openssl-1.1.x", "linux-musl", "debian-openssl-1.1.x", "linux-musl-openssl-3.0.x"]
}
generator nestjsDto {
provider = "prisma-generator-nestjs-dto"
output = "../src/generated"
outputToNestJsResourceStructure = "true"
flatResourceStructure = "false"
exportRelationModifierClasses = "true"
reExport = "false"
createDtoPrefix = "Create"
updateDtoPrefix = "Update"
dtoSuffix = "Dto"
entityPrefix = ""
entitySuffix = ""
classValidation = "true"
fileNamingStyle = "kebab"
noDependencies = "false"
outputType = "class"
definiteAssignmentAssertion = "false"
requiredResponseApiProperty = "true"
prettier = "true"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model MyEntity {
id String @id @default(uuid())
name String
}