-- Step 5: Rename match_player_stats to basketball_player_stats

ALTER TABLE match_player_stats RENAME TO basketball_player_stats;
ALTER INDEX match_player_stats_pkey RENAME TO basketball_player_stats_pkey;
ALTER INDEX match_player_stats_match_id_player_id_team_id_key RENAME TO basketball_player_stats_match_id_player_id_team_id_key;
ALTER INDEX match_player_stats_match_id_idx RENAME TO basketball_player_stats_match_id_idx;
ALTER TABLE basketball_player_stats RENAME CONSTRAINT match_player_stats_match_id_fkey TO basketball_player_stats_match_id_fkey;
ALTER TABLE basketball_player_stats RENAME CONSTRAINT match_player_stats_player_id_fkey TO basketball_player_stats_player_id_fkey;
ALTER TABLE basketball_player_stats RENAME CONSTRAINT match_player_stats_team_id_fkey TO basketball_player_stats_team_id_fkey;
