use migrations laravel code example
Example 1: create database from migration laravel for all
php artisan migrate:refresh
php artisan migrate:refresh --seed
Example 2: php artisan migrat
php artisan migrate
php artisan migrate:refresh
php artisan migrate:refresh --seed
php artisan migrate