how to set length to integer in migration laravel code example
Example: laravel migration change column length
Schema::table('users', function ($table) {
$table->string('name', 50)->change();
});
Schema::table('users', function ($table) {
$table->string('name', 50)->change();
});