July 2018
Intermediate to advanced
420 pages
8h 46m
English
Let's starting creating the builders model and migration file using the -m flag. Like we did previously in this book, we can create both files at the same time:
Open your Terminal window and type the following command:
php artisan make:model Builder -m
php artisan make:model Item -m
php artisan make:model Garage -m
php artisan make:model Rating -m
Steps 1 to step 4 will produce the following new files in our application:
project/app/Builder.php project/database/migrations/XXXX_XX_XX_XXXXXX_create_builders_table.php project/app/Item.php ...
Read now
Unlock full access