how to rename table column in laravel migration code example
Example 1: laravel rename table
Schema::rename($currentTableName, $newTableName);
Example 2: migration rename column laravel
php artisan make:migration rename_author_id_in_posts_table --table=posts