Skip to content

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

campos20
Copy link
Member

Copy link
Member

@gregorbg gregorbg left a 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Persons p) r
persons p) r

@@ -137,30 +137,30 @@ queries:
p.countryId,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Persons p
persons p

@@ -189,28 +189,28 @@ queries:
p.countryId,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Persons p) r
persons p) r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants