Answers for "laravel 8 migration for change column name"

PHP
12

laravel migration change column name

Schema::table('users', function (Blueprint $table) {
    $table->renameColumn('from', 'to');
});
Posted by: Guest on April-24-2020
0

rename migration laravel

php artisan make:migration alter_your_table --table=your_table
Posted by: Guest on May-16-2021

Code answers related to "laravel 8 migration for change column name"

Browse Popular Code Answers by Language