laravel migration change column type set value code example
Example 1: laravel migration change column length
Schema::table('users', function ($table) {
$table->string('name', 50)->change();
});
Example 2: laravel migration change column type
public function up()
{
Schema::table('sometable', function (Blueprint $table) {
$table->text('text')->change();
});
}