laravel change column name in model 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');
});