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

Fix for trends count beeing not deleted #576

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PJanisio
Copy link
Contributor

@PJanisio PJanisio commented Jun 2, 2024

  • together with paste deletion stikked should also delete trends count as a trending table can grow ultra large!

To fix remainings in your database before this fix is implemented you can use this query:

DELETE FROM `trending` WHERE NOT EXISTS (
    SELECT *
    FROM `pastes`
    WHERE pid=trending.paste_id
);

- togethjer with paste stikekd should also delete trends count as a  trending table can be ultra large :)
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.

1 participant