-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
tootcli fix-duplicates bugs #19133
Comments
Similar issue with
mastodon/lib/mastodon/maintenance_cli.rb Line 276 in b07906b
Was this deleted here? |
for @ClearlyClaire |
Oops, re-inserting it should have been conditional indeed.
This is not an error when adding an index, but when attempting to remove it. However, the script should not error out if the index doesn't exist. Can I get more context for this error?
No, it's deleted in https://github.com/mastodon/mastodon/blob/main/db/post_migrate/20220118183010_remove_index_users_on_remember_token.rb |
Steps to reproduce the problem
Running the current
fix-duplicates
toolcli adds theindex_tags_on_name_lower
index back, even after the mitgrate has removed it.mastodon/lib/mastodon/maintenance_cli.rb
Line 512 in b07906b
https://github.com/mastodon/mastodon/blob/main/db/migrate/20210421121431_add_case_insensitive_btree_index_to_tags.rb
Expected behaviour
index should be removed
Actual behaviour
index is recreated.
Specifications
main
The text was updated successfully, but these errors were encountered: