Repository navigation
Delete public user accounts - #974
Merged
Merged
Conversation
Keep the admins
hartsick
force-pushed
the
delete-public-accounts
branch
from
March 18, 2026 22:56
418d31b to
8c4e1ce
Compare
esoterik
approved these changes
Mar 19, 2026
esoterik
left a comment
Member
There was a problem hiding this comment.
The analytics page in the admin still loads fine after running this and shows data, so I think this is good to merge! The deletion took < 30s on my local db, which is a dump from october 2023 or 2024, so hopefully shouldn't take too long on prod.
Member
Author
|
thank you!! |
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.
But keep the admins.
.delete_allintentionally skips activemodel callbacksI tested this locally on small set of test data. Would appreciate a lookover to make sure:
Task can be ran as
bin/rake users:delete_nonadmins