Skip to content
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

DEV: Update data explorer queries to new table if exists #197

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented Jul 17, 2024

Following the table migrations from #196, plenty of data explorer queries will probably stop reflecting updated values.

This PR updates data explorer queries to use the new table name.

WHERE sql LIKE '%discourse_voting_topic_vote_count%'
OR sql LIKE '%discourse_voting_votes%';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are many ways to skin this, but given this table is usually small I decided to just merge the wheres and replaces.

@nattsw nattsw merged commit 4ebcd11 into main Jul 17, 2024
5 checks passed
@nattsw nattsw deleted the update-explorer-queries branch July 17, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants