Releases: datomatic/prisma-laravel-generator
Releases · datomatic/prisma-laravel-generator
v1.0.3
v1.0.2
v1.0.1
v1.0.0
1.0.0 (2022-08-25)
Bug Fixes
- add app folder on output location (95f142e)
- alias "as" case insensitive match (0950fc5)
- delete all files in prisma directory before generating new ones (8e25cbe)
- inverted nullable and required (12095bf)
- schema.prisma on example with corrected provider and phpcsfixer path (be70528)
- tests on windows (7013776)
- use always explicit column names and tables for relations (allows inheritance of models) (2e7a716)
- use backed enums also when mapping is not defined in the schema to match the db mapping (f383a23)
Features
- add "Prisma" prefix to generated models (cc239f7)
- all settings available from schema (ee628f2)
- allow multiple separate comments for fields and models (a60b76a)
- carbonimmutable if datetime is readonly, implements and extends model annotations (408d944)
- created_at, updated_at and deleted_at considered as read-only (0383695)
- get attributes and comments from raw schema file (c3fd8cc)
- id is read-only by default (ff9fc67)
- immutable_datetime only for read-only fields (c650940)
- inherited models generator (28b13b1)
- model and enum export path annotation (b818093)
- model generation (w/o relations), prettier before php-cs-fixer, raw schema analysis (f5f9ea7)
- prisma 4 (a4c16ef)
- prisma snake_cased models saved in singular ucwords format (5d3df9b)
- project setup (9d9b37e)
- relations (0015e2c)
- timestamps default by name (445920d)
- traits (b6f3e93)