Answers for "laravel migration change column length"

PHP
1

laravel migration change column length

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

laravel rename table

Schema::rename($currentTableName, $newTableName);
Posted by: Guest on September-15-2020

Code answers related to "laravel migration change column length"

Browse Popular Code Answers by Language