July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now, let's exercise some commands that we briefly saw in the first chapter and create our migrations and seeds in a different way.
docker-compose exec php-fpm bash
php artisan make:model Bike -m
Note that we are using the -m flag to create the migration file together with the creation of Bike Model. So now, we have two new files in our application:
Read now
Unlock full access