laravel change database table name code example
Example 1: laravel rename table
Schema::rename($currentTableName, $newTableName);
Example 2: create table laravel give name table
php artisan make:migration create_users_table --create=users
Schema::rename($currentTableName, $newTableName);
php artisan make:migration create_users_table --create=users