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

DB/WOEID cleanup #16

Open
dgw opened this issue Aug 3, 2020 · 0 comments
Open

DB/WOEID cleanup #16

dgw opened this issue Aug 3, 2020 · 0 comments

Comments

@dgw
Copy link
Member

dgw commented Aug 3, 2020

Back in the Ancient Days, this plugin used to store users' locations in a key named woeid. That's not used any more, and it might make sense to have a cleanup routine to delete those unused rows from Sopel's database.

Debatable whether it should be done automatically (e.g. in setup()) or on command by a Sopel admin. I suppose there could be other plugins that also use the same key name, so a Super Ambitious Epic Automatic Solution™ would have to determine somehow that no other installed plugin uses the same key name, and abort the cleanup if one does. (Good luck with that? 🤣)

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

No branches or pull requests

1 participant