diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-03-19 11:07:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-19 11:07:56 +0100 |
commit | 82caed594c3ad2cafe0c83b814879f30942fe57b (patch) | |
tree | 9a26cb6f16f7a7b19aab345f9406584a35fdf598 /lib | |
parent | b3582298341e32528929c6f3292e36a6fa261ba5 (diff) |
Change deduplication order of tootctl maintenance fix-duplicates (#15923)
Hopefully fixes #15922 Also update support up to latest database schema version
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mastodon/maintenance_cli.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mastodon/maintenance_cli.rb b/lib/mastodon/maintenance_cli.rb index 029d42a05..9f1eaf263 100644 --- a/lib/mastodon/maintenance_cli.rb +++ b/lib/mastodon/maintenance_cli.rb @@ -14,7 +14,7 @@ module Mastodon end MIN_SUPPORTED_VERSION = 2019_10_01_213028 - MAX_SUPPORTED_VERSION = 2020_12_18_054746 + MAX_SUPPORTED_VERSION = 2021_03_08_133107 # Stubs to enjoy ActiveRecord queries while not depending on a particular # version of the code/database @@ -142,7 +142,6 @@ module Mastodon @prompt.warn 'Please make sure to stop Mastodon and have a backup.' exit(1) unless @prompt.yes?('Continue?') - deduplicate_accounts! deduplicate_users! deduplicate_account_domain_blocks! deduplicate_account_identity_proofs! @@ -157,6 +156,7 @@ module Mastodon deduplicate_media_attachments! deduplicate_preview_cards! deduplicate_statuses! + deduplicate_accounts! deduplicate_tags! deduplicate_webauthn_credentials! |