Skip to content

Releases: notiz-dev/prisma-dbml-generator

v0.12.0

15 Feb 18:28
Compare
Choose a tag to compare

Changed

  • add support for Prisma 5.0.0

Full Changelog: v0.11.1...v0.12.0

v0.11.1

15 Feb 17:45
Compare
Choose a tag to compare
  • bump prisma to 4.16 and update deps

Full Changelog: v0.11.0...v0.11.1

0.11.0

15 Feb 17:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.11.0

0.11.0-dev.0

02 May 10:03
Compare
Choose a tag to compare
0.11.0-dev.0 Pre-release
Pre-release

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

28 Nov 08:39
Compare
Choose a tag to compare

Added

  • Update to Prisma v4 #37
  • option to include relation fields #35

Credits

Thanks to @PabloSzx and @jon-lewis for their contribution!

0.10.0-dev.1

11 Nov 12:06
Compare
Choose a tag to compare
0.10.0-dev.1 Pre-release
Pre-release

What's Changed

  • feat(options): option to include relation fields by @jon-lewis in #35

New Contributors

Full Changelog: v0.10.0-dev.0...v0.10.0-dev.1

0.10.0-dev.0

20 Jul 09:03
Compare
Choose a tag to compare
0.10.0-dev.0 Pre-release
Pre-release

What's Changed

Full Changelog: v0.9.1...v0.10.0-dev.0

0.9.1

25 May 12:31
Compare
Choose a tag to compare

Bug Fixes

  • fix db name in many-to-many tables, relations and field names

0.9.0

04 Apr 06:46
Compare
Choose a tag to compare

Features

  • primitive list: add support for primitive list (30)
  • add map db name option (50ef8cf), #18
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

18 Mar 08:50
Compare
Choose a tag to compare
0.9.0-dev.1 Pre-release
Pre-release

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
}