how to rename a variable of a table in laravel code example Example: laravel rename table Schema::rename($currentTableName, $newTableName);