rename column in migration laravel code example
Example: laravel migration change column name
Schema::table('users', function (Blueprint $table) {
$table->renameColumn('from', 'to');
});
Schema::table('users', function (Blueprint $table) {
$table->renameColumn('from', 'to');
});