mastodon/lib/tasks
ThibG 1242e57c27
Deal with collation-related index corruption (#14860)
* Add tootctl maintenance fix-duplicates

This tool goes through the database to detect and fix duplicates.
This operation is very slow and may cause data loss (of data that would be
inaccessible without intervention because of the existing index corruptions).
It tries its best to make sensible decisions, and asks the user in some cases.

* Add warning message in db:migrate hook

* Clear Rails cache after being done with database deduplication

Avoids followers hash cache being incorrect, among other things
2020-11-19 17:37:49 +01:00
..
assets.rake
auto_annotate_models.rake
db.rake Deal with collation-related index corruption (#14860) 2020-11-19 17:37:49 +01:00
emojis.rake
mastodon.rake
repo.rake
statistics.rake