Namespaces for ORM Models and Data Migrations

Two new updates have just been released. The first one is using namespaces for ORM Model table names. Basically it means that \App\Model\Forest\Fairy class would now by default use the forest_fairies table and that relationships with that table would use the forest_fairy_id foreign key. This will lead to a much more obvious connection between tables and their models.

For example it’s now much easier to set up thing like categories for posts and forums by having posts_categories and forum_categories tables and Posts\Category and Forum\Category classes.

The second addition is the support for data migrations in the Migrations Module. Basically a migration might look like this: