php laravel rename column 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');
});