mirror of
https://github.com/edgegamers/poor-sharptimer.git
synced 2025-12-05 20:40:25 -08:00
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:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user