sql migration alter table laravel code example
Example 1: migrations required field laravel
$table->string('foo')->nullable(false)->change();
Example 2: laravel migration integer
$table->bigInteger('votes');
$table->string('foo')->nullable(false)->change();
$table->bigInteger('votes');