Generating Code

An important benefit of en ERD is the ability to produce perfect ORM metadata. For Laravel this means generated models and curated migrations.

Models are generated for every entity in the ERD unless they are specifically excluded. The generated models include all the relationships between models and extended ORM properties such as a specific table name. This dynamic ERD-generated data is stored in an abstract class and a final class is inherited from the abstract class.

The ERD Also generates migrations for you. By keeping track of all changes to the ERD over time migrations can be created to add, update, and delete database tables and columns. This rather tricky part of programming in Laravel is completely maintained by Skipper. Code is generated for up and down migrations.