laravel artisan create update migration code example
Example 1: migrations required field laravel
$table->string('foo')->nullable(false)->change();
Example 2: php artisan see last migration
php artisan migrate:status
Example 3: create database from migration laravel for all
php artisan migrate --force