-
Notifications
You must be signed in to change notification settings - Fork 17
Alterations after database naming changes #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching up so quickly! I think there's many more places that need to be updated actually
RanksSingle rs | ||
inner join Events e on rs.eventId = e.id | ||
ranks_single rs | ||
inner join Events e on rs.event_id = e.id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inner join Events e on rs.event_id = e.id | |
inner join events e on rs.event_id = e.id |
@@ -28,14 +28,14 @@ queries: | |||
c.cellName | |||
from Results results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from Results results | |
from results |
and single_records.personId = results.personId | ||
and single_records.eventId = results.eventId | ||
and single_records.person_id = results.personId | ||
and single_records.event_id = results.eventId | ||
and regionalSingleRecord = 'WR' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and regionalSingleRecord = 'WR' | |
and regional_single_record = 'WR' |
and single_records.personId = results.personId | ||
and single_records.eventId = results.eventId | ||
and single_records.person_id = results.personId | ||
and single_records.event_id = results.eventId | ||
and regionalSingleRecord = 'WR' | ||
inner join Competitions c on results.competitionId = c.id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inner join Competitions c on results.competitionId = c.id | |
inner join competitions c on results.competition_id = c.id |
@@ -49,14 +49,14 @@ queries: | |||
c.cellName | |||
from Results results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from Results results | |
from results |
personId = p.wca_id | ||
and eventId = '555') r5 | ||
person_id = p.wca_id | ||
and event_id = '555') r5 | ||
from | ||
Persons p) r |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Persons p) r | |
persons p) r |
@@ -137,30 +137,30 @@ queries: | |||
p.countryId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p.countryId, | |
p.country_id, |
personId = p.wca_id | ||
and eventId = '555' | ||
person_id = p.wca_id | ||
and event_id = '555' | ||
) r5 | ||
from | ||
Persons p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Persons p | |
persons p |
@@ -189,28 +189,28 @@ queries: | |||
p.countryId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p.countryId, | |
p.country_id, |
personId = p.wca_id | ||
and eventId = '555') r5 | ||
person_id = p.wca_id | ||
and event_id = '555') r5 | ||
from | ||
Persons p) r |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Persons p) r | |
persons p) r |
This is needed after thewca/worldcubeassociation.org#11217