how to define length of db field in laravel migration 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();
});