add migration field with integer length in laravel 8 code example
Example 1: laravel migration integer
$table->integer('votes');
Example 2: laravel migration change column length
Schema::table('users', function ($table) {
$table->string('name', 50)->change();
});