Answers for "migration change column size in laravel 7"

PHP
1

laravel migration change column length

Schema::table('users', function ($table) {
    $table->string('name', 50)->change();
});
Posted by: Guest on November-19-2020

Code answers related to "migration change column size in laravel 7"

Browse Popular Code Answers by Language