mastodon-glitch/db/post_migrate
Claire de740dfb9c
Use `upsert_all` and `insert_all` to reduce back-and-forth in costly migrations (#29752)
2024-03-26 15:57:08 +00:00
..
.gitkeep
20180813113448_copy_status_stats_cleanup.rb
20181116184611_copy_account_stats_cleanup.rb
20190511152737_remove_suspended_silenced_account_fields.rb Fix `Lint/UselessAssignment` cop (#27472) 2023-10-19 16:55:06 +02:00
20190519130537_remove_boosts_widening_audience.rb Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2023-07-12 09:47:08 +02:00
20190706233204_drop_stream_entries.rb
20190715031050_drop_subscriptions.rb
20190901040524_remove_score_from_tags.rb
20190927124642_remove_invalid_web_push_subscription.rb
20200917193528_migrate_notifications_type.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
20200917222734_remove_index_notifications_on_account_activity.rb
20201017234926_fill_account_suspension_origin.rb Use migration classes in migrations where current definition conflicts with older (#26390) 2023-08-09 11:26:42 +02:00
20210308133107_remove_subscription_expires_at_from_accounts.rb Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2023-07-12 09:47:08 +02:00
20210502233513_drop_account_tag_stats.rb Change trending hashtags to be affected be reblogs (#16164) 2021-05-07 14:33:43 +02:00
20210507001928_remove_hub_url_from_accounts.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
20210526193025_remove_lock_version_from_account_stats.rb Fix account deletion sometimes failing because of optimistic locks (#16317) 2021-06-02 17:41:25 +02:00
20210616214135_remove_current_sign_in_ip_from_users.rb Remove IP tracking columns from users table (#16409) 2022-01-16 13:23:50 +01:00
20210808071221_clear_orphaned_account_notes.rb Fix owned account notes not being deleted when an account is deleted (#16579) 2021-08-08 15:29:57 +02:00
20211126000907_drop_account_identity_proofs.rb Remove Keybase integration (#17045) 2021-11-26 05:58:18 +01:00
20220109213908_remove_action_taken_from_reports.rb Add notifications for statuses deleted by moderators (#17204) 2022-01-17 09:41:33 +01:00
20220118183010_remove_index_users_on_remember_token.rb Remove leftover database columns from Devise::Models::Rememberable (#17191) 2022-01-23 15:46:30 +01:00
20220118183123_remove_rememberable_from_users.rb Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2023-07-12 09:47:08 +02:00
20220202201015_remove_trust_level_from_accounts.rb Add trending statuses (#17431) 2022-02-25 00:34:14 +01:00
20220303203437_remove_media_attachments_changed_from_status_edits.rb Change how changes to media attachments are stored for edits (#17696) 2022-03-09 09:06:17 +01:00
20220307083603_optimize_null_index_conversations_uri.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060545_optimize_null_index_statuses_in_reply_to_account_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060556_optimize_null_index_statuses_in_reply_to_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060614_optimize_null_index_media_attachments_scheduled_status_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060626_optimize_null_index_media_attachments_shortcode.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060641_optimize_null_index_users_reset_password_token.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060653_optimize_null_index_users_created_by_application_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060706_optimize_null_index_statuses_uri.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060722_optimize_null_index_accounts_moved_to_account_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060740_optimize_null_index_oauth_access_tokens_refresh_token.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060750_optimize_null_index_accounts_url.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060809_optimize_null_index_oauth_access_tokens_resource_owner_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060833_optimize_null_index_announcement_reactions_custom_emoji_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060854_optimize_null_index_appeals_approved_by_account_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060913_optimize_null_index_account_migrations_target_account_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060926_optimize_null_index_appeals_rejected_by_account_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060939_optimize_null_index_list_accounts_follow_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220310060959_optimize_null_index_web_push_subscriptions_access_token_id.rb Fix null values being included in some indexes (#17711) 2022-03-12 08:12:57 +01:00
20220429101025_remove_ips_from_email_domain_blocks.rb Remove IP matching from e-mail domain blocks (#18190) 2022-04-29 23:27:03 +02:00
20220429101850_clear_email_domain_blocks.rb Remove IP matching from e-mail domain blocks (#18190) 2022-04-29 23:27:03 +02:00
20220527114923_remove_filtered_languages_from_users.rb Remove unused `filtered_languages` column (#18533) 2022-05-27 20:05:22 +02:00
20220613110802_remove_whole_word_from_custom_filters.rb Remove `add_column_with_default` migration helper (#28654) 2024-01-10 10:35:06 +00:00
20220613110903_remove_irreversible_from_custom_filters.rb Remove `add_column_with_default` migration helper (#28654) 2024-01-10 10:35:06 +00:00
20220617202502_migrate_roles.rb Change migration to migrate admins to Owner role rather than Admin role (#19671) 2022-11-02 16:34:47 +01:00
20220704024901_migrate_settings_to_user_roles.rb Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 2024-02-19 11:09:43 +00:00
20220729171123_fix_custom_filter_keywords_id_seq.rb Run rubocop formatting except line length (#23632) 2023-02-18 06:56:20 +09:00
20220824164532_remove_recorded_changes_from_admin_action_logs.rb Add audit log entries for user roles (#19040) 2022-08-25 20:39:40 +02:00
20221101190723_backfill_admin_action_logs.rb Solve `Abc/*` metrics for `db/*migrate*` files (#28568) 2024-01-03 13:22:03 +00:00
20221206114142_backfill_admin_action_logs_again.rb Solve `Abc/*` metrics for `db/*migrate*` files (#28568) 2024-01-03 13:22:03 +00:00
20230803082451_add_unique_index_on_preview_cards_statuses.rb Use AR `database_version` in PG version checks in migrations (#28804) 2024-01-18 16:11:50 +00:00
20230803112520_add_primary_key_to_preview_cards_statuses_join_table.rb Add primary key to preview_cards_statuses join table (includes deduplication migration) (#25243) 2023-08-03 11:12:52 +02:00
20230811103651_remove_index_preview_cards_statuses_on_status_id_and_preview_card_id.rb Remove old non-unique index on preview_cards statuses join table (#26447) 2023-08-14 09:38:08 +02:00
20230818142253_drop_follow_recommendations.rb Change materialized views to be refreshed concurrently to avoid locks (#29015) 2024-01-30 18:21:30 +00:00
20230904134623_fix_kmr_locale_settings.rb Fix language settings for users having selected the `kmr` language (#26787) 2023-09-04 17:56:31 +02:00
20240321160706_migrate_interaction_settings_to_policy_again.rb Use `upsert_all` and `insert_all` to reduce back-and-forth in costly migrations (#29752) 2024-03-26 15:57:08 +00:00
20240322130318_remove_relationships_count_from_account_relationship_severance_events.rb Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately (#29714) 2024-03-22 15:44:31 +00:00
20240322161611_remove_obsolete_roles_from_users.rb Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 2024-03-22 16:22:36 +00:00