Minor fixes to complete the upgrade from 1.6.1 to 1.7.0

* Update README

* Perform upgrade testing from most recent full release version (1.6.1)
Fixes #278
This commit is contained in:
Michael Green
2024-02-04 22:17:11 +11:00
committed by GitHub
parent 5e45fc1aa9
commit 7754fd5dda
5 changed files with 122 additions and 19 deletions

View File

@@ -26,18 +26,17 @@ SELECT
*
FROM
(SELECT DISTINCT
row_number() over (partition by Id order by AgeGroupId desc) as seqnum, view_GamesWithRoms.*,
(SELECT
AgeGroupId
FROM
ClassificationMap
WHERE
RatingId = AgeRating.Rating
ORDER BY AgeGroupId DESC) AgeGroupId
row_number() over (partition by Id order by AgeGroup.AgeGroupId desc) as seqnum, view_GamesWithRoms.*,
AgeGroup.AgeGroupId AS AgeGroupId
FROM
view_GamesWithRoms
LEFT JOIN Relation_Game_AgeRatings ON view_GamesWithRoms.Id = Relation_Game_AgeRatings.GameId
LEFT JOIN AgeRating ON Relation_Game_AgeRatings.AgeRatingsId = AgeRating.Id
LEFT JOIN (SELECT
AgeGroupId, RatingId
FROM
ClassificationMap
ORDER BY AgeGroupId DESC) AgeGroup ON AgeRating.Rating = AgeGroup.RatingId
) g
WHERE g.seqnum = 1;