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: Remove query to make sure topic vote counts are deleted when topics are deleted #201

Merged
merged 2 commits into from
Aug 2, 2024

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented Aug 2, 2024

This is now removed automatically when a topic is deleted. A test is added to ensure so. Related #200

…ics are deleted

This is now removed automatically when a topic is deleted
WHERE dvv.id IS NULL
)
SQL

# correct topics vote counts
DB.exec(<<~SQL)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This subsequent query is fine.

@nattsw nattsw merged commit 6285bd0 into main Aug 2, 2024
5 checks passed
@nattsw nattsw deleted the remove-outdated-consistency-query branch August 2, 2024 16:17
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