Schema laravel code example
Example 1: laravel rename table
Schema::rename($currentTableName, $newTableName);
Example 2: laravel create db table
php artisan make:migration create_users_table
Schema::rename($currentTableName, $newTableName);
php artisan make:migration create_users_table