fix: Update rank condition in MySQL migration script

Update ranking condition in MySQL migration script

- Modify condition in `006_AddRankOverhaulViews.sql` to check for ranks ≤ 10 instead of percentile < 0.5.
This commit is contained in:
MSWS
2025-04-30 03:18:53 -07:00
parent d66534b877
commit cdad78cba0

View File

@@ -76,7 +76,7 @@ SELECT `Ranks`.`SteamID` AS `SteamID`,
`MT`.`MapName` AS `MapName`,
`Ranks`.`Percentile` AS `Percentile`,
CASE
WHEN `Ranks`.`Percentile` < 0.5 THEN CASE `Ranks`.`Rank`
WHEN `Ranks`.`Rank` <= 10 THEN CASE `Ranks`.`Rank`
WHEN 1 THEN `MWR`.`WR`
WHEN 2 THEN `MWR`.`Rank2`
WHEN 3 THEN `MWR`.`Rank3`