Releases: notiz-dev/prisma-dbml-generator
Releases Β· notiz-dev/prisma-dbml-generator
v0.12.0
v0.11.1
- bump prisma to 4.16 and update deps
Full Changelog: v0.11.0...v0.11.1
0.11.0
What's Changed
- Fix many many join tables by @maxmousse in #49
- Fix README typo by @Jaimeloeuf in #54
New Contributors
- @maxmousse made their first contribution in #49
- @Jaimeloeuf made their first contribution in #54
Full Changelog: v0.10.0...v0.11.0
0.11.0-dev.0
Fixed
- generating many-to-many tables after DMMF
relationToFields
changes, #46 #49 - update dependencies and security vulnerabilities, #45
Credits
Thanks to @maxmousse for fixing the many-to-many generation bug.
0.10.0
0.10.0-dev.1
What's Changed
- feat(options): option to include relation fields by @jon-lewis in #35
New Contributors
- @jon-lewis made their first contribution in #35
Full Changelog: v0.10.0-dev.0...v0.10.0-dev.1
0.10.0-dev.0
0.9.1
Bug Fixes
- fix db name in many-to-many tables, relations and field names
0.9.0
Features
generator dbml {
provider = "node ./dist/generator.js"
mapToDbSchema = "true" // π enable mapToDbSchema with the new option
}
model User {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
email String @unique
name String?
@@map("user") // π this will be used in the dbml schema
}
Credits
Thanks to @PabloSzx for adding primitive list support.
0.9.0-dev.1
Features
generator dbml {
provider = "node ./dist/generator.js"
mapToDbSchema = "true" // π enable mapToDbSchema with the new option
}
model User {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
email String @unique
name String?
@@map("user") // π this will be used in the dbml schema
}