0.9.1 (2022-05-25)
- fix db name in many-to-many tables, relations and field names
0.9.0 (2022-04-04)
0.8.3 (2021-12-01)
- comments: fix multiple quotes in comments (#27)
0.8.2 (2021-11-16)
0.8.1 (2021-10-01)
0.8.0 (2021-09-22)
- prisma: update to [email protected], closes #20 (74b492e)
- referentialActions: add relationOnDelete (#16) (559a7a3)
0.8.0 (2021-09-22)
- prisma: update to [email protected], closes #20 (74b492e)
0.7.0 (2021-08-11)
Prisma introduced a breaking change of the internal DMMF API. If you are using Prisma 2.29.0 or newer install version 0.7.0](https://github.com/notiz-dev/prisma-dbml-generator/releases/tag/v0.7.0) or newer. If you are using Prisma prior to 2.29.0 stay with version 0.6.0](https://github.com/notiz-dev/prisma-dbml-generator/releases/tag/v0.6.0).
Prisma | prisma-dbml-generator |
---|---|
>=2.29.0 | 0.7.0 |
<2.29.0 | 0.6.0 |
- indices: update primary and unique indices for prisma 2.29 (8ac5f75)
0.6.0 (2021-06-08)
- dbml: fix md parser (efb544f)
- m-n-relation: catch invalid m-n-relation (d5d3494)
- note: escape single quote from documentation, closes #13 (f78d7dc)
0.5.0 (2021-04-01)
- add support for prisma ^2.20 (a280871)
0.4.0 (2020-11-19)
0.3.1 (2020-09-24)
- self-relations: use name for join fields instead of type (b62dc66)
0.3.0 (2020-09-18)
- many-to-many: disable m-n-table generation (028d0b6)
- deps: move @prisma/client to devDeps (f6ee512)
- many-to-many: generate join table (f0e2923)
- many-to-many: option to disable m-n table (b4615e7)
- output-name: add option for outputName (a876bec)
0.2.3 (2020-09-16)
- default: table default for string values (86ee44f)
0.2.2 (2020-09-15)
0.2.1 (2020-09-15)
- docs: prisma generate command (fd5b78f)
0.2.0 (2020-09-15)
- dmbl: comment out test.json file (5532bbc)
- relations: add test cases for relations (e68fc5f)
- point bin to dist (547191c)
- dbml: add autogenerated comment (2a13128)
- dbml: test dbml generation (2647684)
- default: add '' around enum default values (a1117b3)
- enums: add single enum test (d25b592)
- generator: update prettyName (9b4e487)
- prisma: switch to prisma 2.6.0 dev version (e0dcd2b)
- relations: add none relationship test (1919576)
- table: add simple table test (f852af4)
- tests: adding tests for relations (e4be803)
0.1.5 (2020-09-01)
- dmbl: comment out test.json file (5532bbc)
- relations: add test cases for relations (e68fc5f)
- point bin to dist (547191c)
- default: add '' around enum default values (a1117b3)
- generator: update prettyName (9b4e487)
- prisma: switch to prisma 2.6.0 dev version (e0dcd2b)
- tests: adding tests for relations (e4be803)
0.1.4 (2020-09-01)
- default: add '' around enum default values (a1117b3)
- generator: update prettyName (9b4e487)
- prisma: switch to prisma 2.6.0 dev version (e0dcd2b)
- tests: adding tests for relations (e4be803)
0.1.2 (2020-08-27)
- point bin to dist (547191c)
- default: add '' around enum default values (a1117b3)
0.1.1 (2020-08-27)
- default: add '' around enum default values (a1117b3)
- relationship: fix combinekeys parameter (fa5e0a6)