eloquent rename column and update in same migration 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');
});