]> cat aescling's git repositories - mastodon.git/commit
Fix null values being included in some indexes (#17711)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 12 Mar 2022 07:12:57 +0000 (08:12 +0100)
committerGitHub <noreply@github.com>
Sat, 12 Mar 2022 07:12:57 +0000 (08:12 +0100)
commit75e33fd08fb4f926897490b6fa42890b393c0989
tree3836227041ada2f5b6e389f40e1d955db19bbfa4
parentbc320d6cec5900fa2fd9d3a46480e242111caaca
Fix null values being included in some indexes (#17711)

* Fix null values being included in some indexes

* Update lib/mastodon/migration_helpers.rb

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
* Add documentation link to corruption error message

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
23 files changed:
db/migrate/20200620164023_add_fixed_lowercase_index_to_accounts.rb
db/migrate/20210421121431_add_case_insensitive_btree_index_to_tags.rb
db/post_migrate/20220307083603_optimize_null_index_conversations_uri.rb [new file with mode: 0644]
db/post_migrate/20220310060545_optimize_null_index_statuses_in_reply_to_account_id.rb [new file with mode: 0644]
db/post_migrate/20220310060556_optimize_null_index_statuses_in_reply_to_id.rb [new file with mode: 0644]
db/post_migrate/20220310060614_optimize_null_index_media_attachments_scheduled_status_id.rb [new file with mode: 0644]
db/post_migrate/20220310060626_optimize_null_index_media_attachments_shortcode.rb [new file with mode: 0644]
db/post_migrate/20220310060641_optimize_null_index_users_reset_password_token.rb [new file with mode: 0644]
db/post_migrate/20220310060653_optimize_null_index_users_created_by_application_id.rb [new file with mode: 0644]
db/post_migrate/20220310060706_optimize_null_index_statuses_uri.rb [new file with mode: 0644]
db/post_migrate/20220310060722_optimize_null_index_accounts_moved_to_account_id.rb [new file with mode: 0644]
db/post_migrate/20220310060740_optimize_null_index_oauth_access_tokens_refresh_token.rb [new file with mode: 0644]
db/post_migrate/20220310060750_optimize_null_index_accounts_url.rb [new file with mode: 0644]
db/post_migrate/20220310060809_optimize_null_index_oauth_access_tokens_resource_owner_id.rb [new file with mode: 0644]
db/post_migrate/20220310060833_optimize_null_index_announcement_reactions_custom_emoji_id.rb [new file with mode: 0644]
db/post_migrate/20220310060854_optimize_null_index_appeals_approved_by_account_id.rb [new file with mode: 0644]
db/post_migrate/20220310060913_optimize_null_index_account_migrations_target_account_id.rb [new file with mode: 0644]
db/post_migrate/20220310060926_optimize_null_index_appeals_rejected_by_account_id.rb [new file with mode: 0644]
db/post_migrate/20220310060939_optimize_null_index_list_accounts_follow_id.rb [new file with mode: 0644]
db/post_migrate/20220310060959_optimize_null_index_web_push_subscriptions_access_token_id.rb [new file with mode: 0644]
db/schema.rb
lib/mastodon/migration_helpers.rb
lib/tasks/db.rake