mastodon/db/post_migrate
2024-12-18 08:52:47 +00:00
..
.gitkeep
20180813113448_copy_status_stats_cleanup.rb Move status counters to separate table, count replies (#8104) 2018-08-14 19:19:32 +02:00
20181116184611_copy_account_stats_cleanup.rb Extract counters from accounts table to account_stats table (#9295) 2018-11-19 00:43:52 +01:00
20190511152737_remove_suspended_silenced_account_fields.rb Update deprecated enum style in older migrations (#32925) 2024-12-12 10:44:58 +00: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 Remove Atom feeds and old URLs in the form of GET /:username/updates/:id (#11247) 2019-07-07 16:16:51 +02:00
20190715031050_drop_subscriptions.rb Remove WebSub subscriptions (#11303) 2019-07-21 04:08:00 +02:00
20190901040524_remove_score_from_tags.rb Change trending hashtags to not disappear instantly after midnight (#11712) 2019-09-02 18:11:13 +02:00
20190927124642_remove_invalid_web_push_subscription.rb Validate Web::PushSubscription (#11971) 2019-09-27 15:24:13 +02:00
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 Add option to be notified when a followed user posts (#13546) 2020-09-18 17:26:45 +02:00
20201017234926_fill_account_suspension_origin.rb Update deprecated enum style in older migrations (#32925) 2024-12-12 10:44:58 +00: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 Remove postgres version support check for REINDEX in migration (#32744) 2024-11-07 15:40:41 +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
20240307180905_migrate_devise_two_factor_secrets.rb Add some error handling to OTP secret migration (#30344) 2024-05-20 14:59:23 +00: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
20240603195202_change_read_me_scope_to_profile.rb Change read:me scope to profile scope (#30357) 2024-06-06 07:30:10 +00:00
20240712064044_remove_dismissed_from_notification_requests.rb Destroy NotificationRequests that are dismissed (#31008) 2024-07-12 12:09:52 +00:00
20240720140205_drop_end_to_end_message_tables.rb Fix rolling updates by moving DropEndToEndMessageTables to post-deployment migrations (#31963) 2024-09-19 09:50:06 +00:00
20240808124339_post_deployment_migrate_notifications_policy_v2.rb Fix down clause for notification policy v2 migrations (#33340) 2024-12-18 08:52:47 +00:00
20240808125420_drop_old_policies_from_notifications_policy.rb Revamp notification policy options (#31343) 2024-08-09 13:30:55 +00:00
20240916190140_remove_crypto_scope_values.rb Fix rolling updates by moving DropEndToEndMessageTables to post-deployment migrations (#31963) 2024-09-19 09:50:06 +00:00
20241123160722_move_tag_trends_to_table.rb Fix tag trend migration failing due to duplicate rows (#33189) 2024-12-05 16:12:26 +00:00
20241205135925_remove_legacy_user_settings_columns.rb Always remove setting keys in legacy user settings migrations (#33196) 2024-12-06 10:58:18 +00:00