Laravel 5.5 set size of integer fields in migration file
According to https://laravel.com/docs/5.1/migrations, as of Laravel 5.1 you can use the boolean
column type to create a "boolean-like" TINYINT
of length 1 (MySQL). So, for example:
$table->boolean('nameOfColumn');
You can't do this, but you can use different types of integer:
$table->bigInteger()
$table->mediumInteger()
$table->integer()
$table->smallInteger()
$table->tinyInteger()
https://laravel.com/docs/5.5/migrations#columns