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