Add instructions to clear out old / non-local data for 1.0 upgrade.#433
Open
dessalines wants to merge 2 commits into
Open
Add instructions to clear out old / non-local data for 1.0 upgrade.#433dessalines wants to merge 2 commits into
dessalines wants to merge 2 commits into
Conversation
Adds some sql commands to clear out old / non-local data.
Member
|
Deleting all remote posts/comments is not a good idea. It doesnt even exclude posts which were saved, upvoted or commented by local users. The query in LemmyNet/lemmy#6503 only deletes posts which dont have any comments, and presumaby few other interactions. Still we should mention that admins tweak these queries based on their own requirements. |
Member
Author
The exception list could start getting pretty long here.
For the single person instances, even old posts with comments might not be important. But I'll add this query as an option anyway. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds some sql commands to clear out old / non-local data.