update users table laravel migration code example
Example 1: laravel create db table
php artisan make:migration create_users_table
Example 2: migrations required field laravel
$table->string('foo')->nullable(false)->change();
php artisan make:migration create_users_table
$table->string('foo')->nullable(false)->change();