akkoma/priv/repo/migrations
Mark Felder 5da9cbd8a5 RichMedia refactor
Rich Media parsing was previously handled on-demand with a 2 second HTTP request timeout and retained only in Cachex. Every time a Pleroma instance is restarted it will have to request and parse the data for each status with a URL detected. When fetching a batch of statuses they were processed in parallel to attempt to keep the maximum latency at 2 seconds, but often resulted in a timeline appearing to hang during loading due to a URL that could not be successfully reached. URLs which had images links that expire (Amazon AWS) were parsed and inserted with a TTL to ensure the image link would not break.

Rich Media data is now cached in the database and fetched asynchronously. Cachex is used as a read-through cache. When the data becomes available we stream an update to the clients. If the result is returned quickly the experience is almost seamless. Activities were already processed for their Rich Media data during ingestion to warm the cache, so users should not normally encounter the asynchronous loading of the Rich Media data.

Implementation notes:

- The async worker is a Task with a globally unique process name to prevent duplicate processing of the same URL
- The Task will attempt to fetch the data 3 times with increasing sleep time between attempts
- The HTTP request obeys the default HTTP request timeout value instead of 2 seconds
- URLs that cannot be successfully parsed due to an unexpected error receives a negative cache entry for 15 minutes
- URLs that fail with an expected error will receive a negative cache with no TTL
- Activities that have no detected URLs insert a nil value in the Cachex :scrubber_cache so we do not repeat parsing the object content with Floki every time the activity is rendered
- Expiring image URLs are handled with an Oban job
- There is no automatic cleanup of the Rich Media data in the database, but it is safe to delete at any time
- The post draft/preview feature makes the URL processing synchronous so the rendered post preview will have an accurate rendering

Overall performance of timelines and creating new posts which contain URLs is greatly improved.
2024-06-09 17:33:48 +01:00
..
20170320193800_create_user.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170321074828_create_activity.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170321074832_create_object.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170321133335_add_following_list_to_users.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170321143152_add_ap_id_to_users.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170330153447_add_index_to_objects.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170415141210_add_unique_index_to_email_and_nickname.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170416122418_add_avatar_object_to_users.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170418200143_create_webssub_server_subscription.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170423154511_add_fields_to_users.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170426154155_create_websub_client_subscription.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170427054757_add_user_and_hub.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170501124823_add_id_contraints_to_activities_and_objects.exs
20170501133231_add_id_contraints_to_activities_and_objects_part_two.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170502083023_add_local_field_to_activities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170506222027_add_unique_index_to_apid.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170522160642_case_insensivtivity.exs Split alters rather than work with indexes 2019-07-03 14:56:02 +03:00
20170529093232_longer_bios.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170620095947_remove_activities_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170620133028_add_object_activity_index.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20170620142420_add_object_activity_index_part_two.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170701142005_add_actor_index_to_activity.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170719152213_add_follower_address_to_user.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170906120646_add_mastodon_apps.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170906143140_create_o_auth_authorizations.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170906152508_create_o_auth_token.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170911123607_create_notifications.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170912114248_add_context_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170916090107_add_fts_index_to_activities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170917120416_add_tag_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171019141706_create_password_reset_tokens.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171023155035_add_second_object_index_to_activty.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171024090137_drop_object_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171024121413_add_object_actor_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171109091239_add_actor_to_activity.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171109114020_fill_actor_field.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171109141309_add_sort_index_to_activities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171130135819_add_local_index_to_user.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171212163643_add_recipients_to_activities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171212164525_fill_recipients_in_activities.exs CI: Bump lint stage to elixir-1.12 2021-10-06 08:11:05 +02:00
20180221210540_make_following_postgres_array.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180325172351_add_follower_address_index_to_users.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180327174350_drop_local_index_on_activities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180327175831_actually_drop_local_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180429094642_create_lists.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180513104714_modify_activity_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180516144508_add_trigram_extension.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20180516154905_create_user_trigram_index.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20180530123448_add_list_follow_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180606173637_create_apid_host_extraction_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180612110515_create_user_invite_tokens.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180617221540_create_activities_in_reply_to_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180813003722_create_filters.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180829082446_add_recipients_to_and_cc_fields_to_activities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180829182612_activities_add_to_cc_indices.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180829183529_remove_recipients_to_and_cc_fields_from_activities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180903114437_users_add_is_moderator_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180918182427_create_push_subscriptions.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180919060348_users_add_last_refreshed_at.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20181201104428_add_uuid_extension.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20181201105617_add_uui_ds_to_user_info.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20181206125616_add_tags_to_users.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20181214121049_add_bookmarks_to_users.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20181218172826_users_and_activities_flake_id.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190109152453_add_visibility_function.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190115085500_create_user_fts_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190118074940_fix_user_trigram_index.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20190122153157_update_activity_visibility.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190123092341_users_add_is_admin_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190123125546_create_instances.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190123125839_fix_info_ids.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190124131141_update_activity_visibility_again.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190126160540_change_push_subscriptions_varchar.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190127151220_add_activities_likes_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190203185340_split_hide_network.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190204200237_add_correct_dm_index.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190205114625_create_thread_mutes.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190208131753_add_scopes_to_o_auth_entities.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190213185503_change_apps_scopes_to_varchar_array.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190213185600_data_migration_populate_o_auth_scopes.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190222104808_data_migration_normalize_scopes.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190301101154_add_default_tags_to_user.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190303120636_update_user_note_counters.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190315101315_create_registrations.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190325185009_create_notification_id_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190328053912_create_scheduled_activities.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190403131720_add_oauth_token_indexes.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190404050946_add_fields_to_user_invite_tokens.exs
20190405160700_add_index_on_subscribers.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190408123347_create_conversations.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
20190410152859_add_participation_updated_at_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190411094120_add_index_on_user_info_deactivated.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190412052952_add_user_info_fields.exs
20190413082658_create_bookmarks.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190413085040_add_signin_and_last_digest_dates_to_user.exs
20190414125034_migrate_old_bookmarks.exs Ability to control the output of account/pleroma/relationship in statuses in order to improve the rendering performance. 2020-04-01 19:49:09 +03:00
20190501125843_add_fts_index_to_objects.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190501133552_add_refresh_token_index_to_token.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190506054542_add_multi_factor_authentication_settings_to_user.exs Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController 2020-05-07 08:14:54 +00:00
20190508193213_create_mfa_tokens.exs Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController 2020-05-07 08:14:54 +00:00
20190511191044_set_default_state_to_reports.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190513175809_change_hide_column_in_filter_table.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190515222404_add_thread_visibility_function.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190516112144_add_ap_id_to_lists.exs Add ap_id to List 2019-05-17 19:56:37 +07:00
20190518032627_create_config.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190525071417_add_non_follows_and_non_followers_fields_to_notification_settings.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190603115238_add_index_on_activities_local.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190603162018_add_object_in_reply_to_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190603173419_add_tag_index_to_objects.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20190622151019_add_group_key_to_config.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190710115833_add_following_address_to_user.exs adding following_address field to user 2019-07-10 17:42:18 +03:00
20190710125051_add_following_address_index_to_user.exs adding following_address field to user 2019-07-10 17:42:18 +03:00
20190710125158_add_following_address_from_source_data.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20190711042021_create_safe_jsonb_set.exs [#3213] Refactoring of HashtagsTableMigrator. 2021-01-14 22:41:27 +03:00
20190711042024_copy_muted_to_muted_notifications.exs Migrations: Make them not fail for old databases 2020-02-20 16:44:31 +01:00
20190716100804_add_expirations_table.exs Add activity expirations table 2019-07-24 13:14:52 +02:00
20190730055101_add_oban_jobs_table.exs use correct versions for oban migrations 2021-01-20 20:07:24 +03:00
20190801154554_create_conversation_participation_recipient_ships.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190818124341_create_moderation_log.exs Log admin/moderator actions 2019-08-25 19:39:37 +00:00
20190823000549_add_likes_index_to_objects.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190912065617_create_deliveries.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190917100019_update_oban.exs use correct versions for oban migrations 2021-01-20 20:07:24 +03:00
20190929201536_drop_subscription_if_exists.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20191005165212_add_unread_conversation_count_to_user_info.exs Mastodon API: Add pleroma.unread_conversation_count to the Account entity 2019-10-05 20:12:00 +03:00
20191006123824_add_keys_column.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20191006135457_move_keys_to_separate_column.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20191007073319_create_following_relationships.exs Replace user.following with Pleroma.FollowingRelationship 2019-10-11 02:35:32 +07:00
20191008132217_migrate_following_relationships.exs Fix typos 2019-10-21 14:56:39 +07:00
20191008132427_drop_users_following.exs Add thread_visibility to migrations 2019-10-10 21:11:34 +07:00
20191009154606_add_user_info_columns.exs User info migration improvements 2019-10-26 03:45:24 +03:00
20191009154608_copy_users_info_fields_to_users.exs User info migration improvements 2019-10-26 03:45:24 +03:00
20191014181019_create_markers.exs add Markers /api/v1/markers 2019-10-17 15:26:59 +03:00
20191017225002_drop_websub_tables.exs [#1304] Merged develop, handled User.Info.invisible. 2019-10-21 11:58:22 +03:00
20191025081729_add_move_support_to_users.exs Add allow_following_move setting to User 2019-11-12 18:45:28 +07:00
20191025143434_add_defaults_to_tables.exs Remove following column from the migrations 2019-10-30 18:34:14 +03:00
20191026190317_set_not_null_for_activities.exs Add migration 2019-10-26 22:28:18 +03:00
20191026190415_set_not_null_for_activity_expirations.exs Add migration 2019-10-26 22:31:25 +03:00
20191026190500_set_not_null_for_apps.exs Add migration 2019-10-26 22:32:31 +03:00
20191026190533_set_not_null_for_bookmarks.exs Add migration 2019-10-26 22:33:18 +03:00
20191026190622_set_not_null_for_config.exs Add migration 2019-10-26 22:36:43 +03:00
20191026190712_set_not_null_for_conversation_participation_recipient_ships.exs Add migration 2019-10-26 22:37:30 +03:00
20191026190759_set_not_null_for_conversation_participations.exs Add migration 2019-10-26 22:38:07 +03:00
20191026190841_set_not_null_for_filters.exs Add migration 2019-10-26 22:39:24 +03:00
20191026191023_set_not_null_for_instances.exs Add migration 2019-10-26 22:40:51 +03:00
20191026191100_set_not_null_for_lists.exs Add migration 2019-10-26 22:42:24 +03:00
20191026191134_set_not_null_for_markers.exs Add migration 2019-10-26 22:43:32 +03:00
20191026191218_set_not_null_for_moderation_log.exs Add migration 2019-10-26 22:44:42 +03:00
20191026191249_set_not_null_for_notifications.exs Add migration 2019-10-26 22:45:24 +03:00
20191026191328_set_not_null_for_oauth_authorizations.exs Add migration 2019-10-26 22:50:52 +03:00
20191026191401_set_not_null_for_oauth_tokens.exs Put correct migration 2019-10-26 22:49:37 +03:00
20191026191442_set_not_null_for_objects.exs Add migration 2019-10-26 22:52:49 +03:00
20191026191524_set_not_null_for_password_reset_tokens.exs Add migration 2019-10-26 22:53:41 +03:00
20191026191603_set_not_null_for_push_subscriptions.exs Add migration 2019-10-26 22:54:37 +03:00
20191026191635_set_not_null_for_registrations.exs Add migration 2019-10-26 22:55:29 +03:00
20191026191711_set_not_null_for_scheduled_activities.exs Add migration 2019-10-26 22:56:48 +03:00
20191026191753_set_not_null_for_thread_mutes.exs Add migration 2019-10-26 22:57:43 +03:00
20191026191826_set_not_null_for_user_invite_tokens.exs Add migration 2019-10-26 22:58:37 +03:00
20191026191910_set_not_null_for_users.exs Remove following column from the migrations 2019-10-30 18:34:14 +03:00
20191029101340_migrate_missing_follow_requests.exs Fix two migrations sharing the same module name 2019-10-29 16:56:24 +03:00
20191029172832_fix_blocked_follows.exs Add a migration to fix blocked follows 2019-10-30 15:52:37 +07:00
20191104133100_set_visible_service_actors.exs excluded invisible actors from gets /api/v1/accounts/:id 2019-11-04 20:44:24 +03:00
20191118084425_create_user_relationships.exs [#1335] Refactored UserMute and UserBlock into UserRelationship, introduced EctoEnum. 2019-11-18 20:38:56 +03:00
20191118084500_data_migration_populate_user_relationships.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20191123030554_add_activitypub_actor_type.exs [ActivityPub] Configurable ActivityPub actor type 2019-12-10 13:19:26 +00:00
20191123103423_remove_info_from_users.exs Removed users.info and remaining usages. 2019-11-23 14:06:19 +03:00
20191128153944_fix_missing_following_count.exs Migrations: Set users.following_count to NOT NULL 2019-11-28 17:01:43 +01:00
20191203043610_create_report_notes.exs Add report notes 2019-12-04 00:26:37 +09:00
20191220174645_add_scopes_to_pleroma_feo_auth_records.exs [#1478] OAuth admin tweaks: enforced OAuth admin scopes usage by default, migrated existing OAuth records. Adjusted tests. 2020-01-10 10:52:21 +03:00
20200109123126_add_counter_cache_table.exs Admin API: GET /api/pleroma/admin/stats to get status count by visibility scope 2020-02-24 21:46:37 +03:00
20200227122417_add_trusted_to_apps.exs creating trusted app from adminFE & mix task 2020-03-23 10:44:47 +03:00
20200307103755_fix_moderation_log_subjects.exs moderation log: fix improperly migrated data 2020-03-07 17:00:58 +03:00
20200309123730_create_chats.exs Chats: Basic implementation. 2020-04-02 15:19:09 +02:00
20200314123607_config_remove_fetch_initial_posts.exs rip out fetch_initial_posts 2020-03-15 15:59:17 +03:00
20200315125756_delete_fetch_initial_posts_jobs.exs rip out fetch_initial_posts 2020-03-15 15:59:17 +03:00
20200322174133_user_raw_bio.exs User: Add raw_bio, storing unformatted bio 2020-06-06 16:23:16 +02:00
20200323122421_mrf_config_move_from_instance_namespace.exs moving to mrf namespace migration fix 2020-06-23 20:28:48 +03:00
20200328124805_change_following_relationships_state_to_integer.exs [#2332] Misc. improvements per code change requests. 2020-03-31 09:21:42 +03:00
20200328130139_add_following_relationships_following_id_index.exs [#2332] Misc. fixes per code change requests. 2020-03-30 19:08:37 +03:00
20200328193433_populate_user_raw_bio.exs User: Add raw_bio, storing unformatted bio 2020-06-06 16:23:16 +02:00
20200401030751_users_add_public_key.exs User: Move public_key from source_data to own field 2020-04-10 06:16:18 +02:00
20200401072456_users_add_inboxes.exs User: Move inbox & shared_inbox to own fields 2020-04-10 06:20:02 +02:00
20200402063221_update_oban_jobs_table.exs use correct versions for oban migrations 2021-01-20 20:07:24 +03:00
20200406100225_users_add_emoji.exs Apply suggestion to priv/repo/migrations/20200406100225_users_add_emoji.exs 2020-04-17 22:48:40 +00:00
20200406105422_users_remove_source_data.exs User: remove source_data 2020-04-10 06:20:03 +02:00
20200415181818_update_markers.exs Migration: Fix typo 2020-05-11 22:03:29 +02:00
20200428221338_insert_skeletons_for_deleted_users.exs CI: Bump lint stage to elixir-1.12 2021-10-06 08:11:05 +02:00
20200505072231_remove_magic_key_field.exs User, Webfinger: Remove OStatus vestiges 2020-05-05 09:25:09 +02:00
20200508092434_update_counter_cache_table.exs Use indexed split_part/3 to get a hostname rather than ts_ functions 2020-05-18 12:38:16 +03:00
20200520155351_add_recipients_contain_blocked_domains_function.exs exclude replies on blocked domains 2020-06-01 21:17:32 +03:00
20200526144426_add_apps_indexes.exs Migrations: Add index on client_id and client_secret for apps. 2020-05-26 16:46:57 +02:00
20200527104138_change_notification_user_index.exs Migrations: Make user_id index on notifications better for query. 2020-05-27 12:56:15 +02:00
20200527163635_delete_notifications_from_invisible_users.exs Mastodon API: ensure the notification endpoint doesn't return less than the requested amount of records unless it's the last page 2020-06-14 18:27:11 +03:00
20200602094828_add_type_to_notifications.exs Notifications: Make notifications save their type. 2020-06-02 13:24:34 +02:00
20200602125218_backfill_notification_types.exs MigrationHelper: Move notification backfilling to own module. 2020-06-09 09:20:55 +02:00
20200602150528_create_chat_message_reference.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
20200603105113_add_unique_index_to_chat_message_references.exs Migrations: Fix migration module name 2020-06-03 14:27:54 +02:00
20200603120448_remove_unread_from_chats.exs Chats: Remove unread from the db, calculate from unseen messages. 2020-06-03 14:26:50 +02:00
20200603122732_add_seen_index_to_chat_message_references.exs Migrations: Add chat_id, seen index to ChatMessageReferences 2020-06-03 14:34:33 +02:00
20200604150318_migrate_seen_to_unread_in_chat_message_references.exs ChatMessageReferences: Change seen -> unread 2020-06-04 17:14:42 +02:00
20200606105430_change_type_to_enum_for_notifications.exs Notification: Change type of type to an enum. 2020-06-06 13:08:45 +02:00
20200607112923_change_chat_id_to_flake.exs Chats: Change id to flake id. 2020-06-07 14:25:30 +02:00
20200626163359_rename_notification_privacy_option.exs Rename notification "privacy_option" setting 2020-06-26 12:45:46 -05:00
20200630162024_rename_user_settings_col.exs Rename user.settings column 2020-06-30 11:50:53 -05:00
20200703101031_add_chat_acceptance_to_users.exs User, Migration: Change accepts_chat_messages to be nullable 2020-07-03 13:12:23 +02:00
20200706060258_remove_tesla_from_config.exs migration to delete migrated tesla setting 2020-07-06 09:12:29 +03:00
20200707112859_instances_add_favicon.exs Use instances table instead of Cachex 2020-07-08 06:28:39 +02:00
20200708193702_drop_user_trigram_index.exs Removed unused trigram index on users. Fixed users_fts_index usage. 2020-07-08 22:50:15 +03:00
20200712234852_add_approval_fields_to_users.exs Add configurable registration_reason limit 2020-07-27 15:13:34 -05:00
20200714081657_oban_2_0_config_changes.exs Migrate in-db config after updating to Oban 2.0 2020-07-14 13:15:46 +03:00
20200716195806_autolinker_to_linkify.exs Add AutolinkerToLinkify migration test 2020-07-22 14:32:24 -05:00
20200722185515_fix_malformed_formatter_config.exs Migration to fix malformed Pleroma.Formatter config 2020-07-22 14:32:45 -05:00
20200724133313_move_welcome_settings.exs added migrate old settings to new 2020-07-25 09:16:43 +03:00
20200802170532_fix_legacy_tags.exs 20200802170532_fix_legacy_tags: chunk the user query 2020-08-10 11:56:37 +03:00
20200804180322_remove_nonlocal_expirations.exs Add a migration to clean up activity_expirations table 2020-08-04 14:58:42 -05:00
20200804183107_add_unique_index_to_app_client_id.exs Unique apps.client_id for new installations, fixes #2022 2020-08-04 13:31:40 -05:00
20200806175913_rename_instance_chat.exs Add RenameInstanceChat migration 2021-06-01 11:49:47 -05:00
20200808173046_only_expire_creates.exs leave expirations with Create and Note types 2020-08-12 12:41:47 +03:00
20200811125613_set_defaults_to_user_approval_pending.exs Set users.approval_pending default to false 2020-08-11 17:21:17 +04:00
20200811143147_ap_id_not_null.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20200817120935_add_invisible_index_to_users.exs Migrations: Add an index on the invisible field on users. 2020-08-17 14:11:36 +02:00
20200824115541_rename_activity_expiration_setting.exs deprecation warning 2020-09-10 21:50:41 +03:00
20200825061316_move_activity_expirations_to_oban.exs start oban app in migrations and mix tasks 2021-01-17 09:58:41 +03:00
20200825093037_drop_activity_expirations_table.exs drop activity_expirations table 2020-09-10 21:50:41 +03:00
20200831114918_remove_unread_conversation_count_from_user.exs remove unread_conversation_count from User 2020-09-01 09:37:08 +03:00
20200831115854_add_unread_index_to_conversation_participation.exs remove unread_conversation_count from User 2020-09-01 09:37:08 +03:00
20200831142509_chat_constraints.exs Chats: Add cascading delete on both referenced users. 2020-08-31 16:48:17 +02:00
20200831152600_add_pleroma_report_to_enum_for_notifications.exs Make notifs view work for reports 2020-11-13 13:35:46 +00:00
20200831192323_create_backups.exs Add backups table 2020-10-07 18:34:28 +04:00
20200901061256_ensure_bio_is_string.exs User table: ensure bio is always a string 2020-09-01 10:45:42 +03:00
20200901061637_bio_set_not_null.exs User table: ensure bio is always a string 2020-09-01 10:45:42 +03:00
20200905082737_rename_await_up_timeout_in_connections_pool.exs migrations for renaming gun timeout options 2020-09-07 19:59:17 +03:00
20200905091427_rename_timeout_in_pools.exs migrations for renaming gun timeout options 2020-09-07 19:59:17 +03:00
20200906072147_remove_cron_stats_worker_from_oban_config.exs removing Stats worker from Oban cron jobs 2020-09-07 19:16:14 +03:00
20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs formatting 2020-09-10 16:01:20 +03:00
20200907092050_move_tokens_expiration_into_oban.exs start oban app in migrations and mix tasks 2021-01-17 09:58:41 +03:00
20200910113106_remove_managed_config_from_db.exs Remove :managed_config option. 2020-09-14 18:04:16 +03:00
20200911055909_remove_cron_jobs.exs migration to remove old cron jobs 2020-09-11 09:09:28 +03:00
20200914105638_delete_notification_without_activity.exs Apply 1 suggestion(s) to 1 file(s) 2020-09-16 03:18:50 +00:00
20200914105800_add_notification_constraints.exs added notification constraints 2020-09-14 14:08:12 +03:00
20200915095704_remove_background_jobs.exs Moving some background jobs into simple tasks 2020-11-11 13:39:49 +03:00
20200919182636_remoteip_plug_rename.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20200925065249_make_user_ids_ci.exs Revert citext user URI migration 2020-09-28 18:34:03 +03:00
20200928145912_revert_citext_change.exs Migrations: Nullify old unique index on users.uri 2020-09-30 14:17:21 +02:00
20200930082320_user_ur_is_index_part_three.exs User search: Once again, change uri handling. 2020-09-30 14:14:41 +02:00
20201005123100_simple_policy_string_to_tuple.exs Add database migrations 2021-08-06 07:59:53 +02:00
20201005124600_quarantained_policy_string_to_tuple.exs Add database migrations 2021-08-06 07:59:53 +02:00
20201005132900_transparency_exclusions_string_to_tuple.exs Add database migrations 2021-08-06 07:59:53 +02:00
20201012173004_refactor_deactivated_user_field.exs Add copyright header 2021-01-15 11:24:46 -06:00
20201013141127_refactor_locked_user_field.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
20201013144052_refactor_discoverable_user_field.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
20201013184200_refactor_confirmation_pending_user_field.exs Change user.confirmation_pending field to user.is_confirmed 2021-01-15 12:44:41 -06:00
20201016205220_refactor_approval_pending_user_field.exs Change user.approval_pending field to user.is_approved 2021-01-15 10:42:02 -06:00
20201113060459_remove_purge_expired_activity_worker_from_oban_config.exs remove PurgeExpiredActivity from Oban db config 2020-11-13 09:07:08 +03:00
20201217172858_data_migration_prolong_o_auth_tokens_valid_until.exs [#2353] Virtually never-expiring OAuth tokens (new and already issued ones). 2020-12-17 20:49:00 +03:00
20201221202251_create_hashtags.exs [#3213] Partially addressed code review points. 2021-02-07 22:24:12 +03:00
20201221202252_remove_data_from_hashtags.exs [#3213] Partially addressed code review points. 2021-02-07 22:24:12 +03:00
20201221203824_create_hashtags_objects.exs [#3213] hashtags: altered name type to text. hashtags_objects: removed unused index. HashtagsTableMigrator: records_per_second calculation fix. ActivityPub: hashtags-related options normalization. 2021-02-22 23:26:07 +03:00
20201231185546_confirm_logged_in_users.exs Remove toggle_confirmation; require explicit state change 2021-01-15 13:11:51 -06:00
20210105195018_create_data_migrations.exs [#3213] Prototype of data migrations functionality / HashtagsTableMigrator. 2021-01-13 22:07:38 +03:00
20210106183301_data_migration_create_populate_hashtags_table.exs [#3213] Explicitly defined PKs in hashtags_objects and data_migration_failed_ids. Added "pleroma.database rollback" task to revert a single migration. 2021-01-31 22:03:59 +03:00
20210111172254_create_data_migration_failed_ids.exs [#3213] Explicitly defined PKs in hashtags_objects and data_migration_failed_ids. Added "pleroma.database rollback" task to revert a single migration. 2021-01-31 22:03:59 +03:00
20210113225652_deprecate_public_endpoint.exs Bump Copyright year 2021-01-14 13:58:52 -06:00
20210115205649_upgrade_oban_jobs_to_v9.exs use explicitly oban migration version 2021-01-17 09:58:07 +03:00
20210121080964_add_default_text_search_config.exs Fix migration in cases where database name has a hyphen 2021-03-02 18:17:32 -06:00
20210122151424_add_last_active_at_to_users.exs Add active user count 2021-01-27 18:20:06 +04:00
20210128092834_remove_duplicates_from_activity_expiration_queue.exs fix and delete purge activities duplicates 2021-01-28 16:57:41 +03:00
20210202110641_add_pinned_objects_to_users.exs Let pins federate 2021-03-25 13:03:40 +03:00
20210203141144_add_featured_address_to_users.exs Let pins federate 2021-03-25 13:03:40 +03:00
20210205145000_move_pinned_activities_into_pinned_objects.exs Let pins federate 2021-03-25 13:03:40 +03:00
20210206045221_remove_pinned_activities_from_users.exs Let pins federate 2021-03-25 13:03:40 +03:00
20210218223811_add_disclose_client_to_users.exs Simplify migration 2021-02-28 09:22:44 -06:00
20210222183840_remove_hashtags_objects_duplicate_index.exs [#3213] hashtags: altered name type to text. hashtags_objects: removed unused index. HashtagsTableMigrator: records_per_second calculation fix. ActivityPub: hashtags-related options normalization. 2021-02-22 23:26:07 +03:00
20210222184616_change_hashtags_name_to_text.exs [#3213] hashtags: altered name type to text. hashtags_objects: removed unused index. HashtagsTableMigrator: records_per_second calculation fix. ActivityPub: hashtags-related options normalization. 2021-02-22 23:26:07 +03:00
20210401143153_user_notification_settings_fix.exs Enforce user.notification_settings is NOT NULL 2021-04-01 10:06:24 -05:00
20210420204354_delete_hashtags_objects_cascade.exs migration: add on_delete: :delete_all to hashtags object_id fk 2021-05-08 02:00:34 +05:00
20210717000000_add_poll_to_notifications_enum.exs MastodonAPI: Support poll notification 2021-07-17 22:19:38 -05:00
20210818023112_add_user_id_to_apps.exs Apps: add user_id index 2021-12-27 18:05:35 -06:00
20211121000000_create_user_notes.exs Lint 2021-11-21 18:17:06 +01:00
20211125110126_force_pinned_objects_to_exist.exs Adapt some migrations so they can be rolled back 2023-06-09 22:02:26 +02:00
20211126191138_add_suggestions.exs v2 Suggestions: add index on is_suggested column 2021-11-26 15:32:01 -06:00
20211222165256_add_last_status_at_to_users.exs MastoAPI: Profile directory 2021-12-26 02:35:17 +00:00
20211225154802_add_is_discoverable_index_to_users.exs MastoAPI: Profile directory 2021-12-26 02:35:17 +00:00
20211229075801_user_relationships_target_id_relationship_type_index.exs mix format 2021-12-29 11:44:33 +03:00
20220108213213_add_mastofe_settings.exs Adapt some migrations so they can be rolled back 2023-06-09 22:02:26 +02:00
20220220135625_upload_filter_exiftool_to_exiftool_strip_location.exs Fix Exiftool migration id 2024-05-07 00:16:21 +02:00
20220302013920_add_language_to_users.exs Adapt some migrations so they can be rolled back 2023-06-09 22:02:26 +02:00
20220308012601_create_announcements.exs Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' (#85) 2022-07-18 13:08:36 +00:00
20220506175506_add_index_hotspots.exs Add index hotspots 2022-07-01 13:59:26 +01:00
20220509180452_change_thread_visibility_to_be_local_only_aware.exs local-only-fixed (#138) 2022-08-02 14:46:46 +00:00
20220605185734_add_update_to_notifications_enum.exs Post editing (#202) 2022-09-06 19:24:02 +00:00
20220718102634_upgrade_oban_to_v11.exs Ensure migrations succeed (#216) 2022-09-16 11:53:11 +00:00
20220805123645_remove_remote_cancelled_follow_requests.exs don't persist undo of follows (#149) 2022-08-05 13:28:56 +00:00
20220831170605_remove_local_cancelled_follows.exs Don't persist local undone follow (#194) 2022-08-31 18:00:36 +00:00
20220905011454_generate_unset_user_keys.exs Add ability to set a default post expiry (#321) 2022-11-28 13:34:54 +00:00
20220911195347_add_user_frontend_profiles.exs Backend settings sync (#226) 2022-10-06 16:22:15 +00:00
20220916115149_ensure_mastofe_settings.exs Ensure rollback succeeds 2022-09-16 13:00:40 +01:00
20221020135943_add_nodeinfo.exs Scrape instance nodeinfo (#251) 2022-11-06 22:49:39 +00:00
20221123221956_add_has_request_signatures.exs Add Signed Fetch Statistics (#312) 2022-11-26 19:22:56 +00:00
20221128103145_add_per_user_post_expiry.exs Add ability to set a default post expiry (#321) 2022-11-28 13:34:54 +00:00
20221129105331_add_notification_activity_id_index.exs Fixing up deletes a bit (#327) 2022-12-01 15:00:53 +00:00
20221129110627_add_bookmarks_activity_id_index.exs Fixing up deletes a bit (#327) 2022-12-01 15:00:53 +00:00
20221129110727_add_report_notes_activity_id_index.exs Fixing up deletes a bit (#327) 2022-12-01 15:00:53 +00:00
20221129112022_add_cascade_to_report_notes_on_activity_delete.exs Fixing up deletes a bit (#327) 2022-12-01 15:00:53 +00:00
20221203232118_add_user_follows_hashtag.exs Remerge of hashtag following (#341) 2022-12-05 12:58:48 +00:00
20221211234352_remove_unused_indices.exs Test removed HTTP adapter 2022-12-11 23:50:31 +00:00
20230127143303_rename_index_users_ap_id_coalesce_follower_address_index.exs Rename users_ap_id_COALESCE_follower_address_index for faster db restoration 2023-02-26 14:33:17 +01:00
20230522213837_add_unfollowed_dm_restrictions.exs switch to using an enum system for DM acceptance 2023-05-23 10:29:08 +01:00
20240207035927_create_rich_media_card.exs RichMedia refactor 2024-06-09 17:33:48 +01:00
20240210000000_drop_chat_tables.exs Drop Chat tables 2024-02-11 05:15:08 +01:00
20240213120000_add_permit_followback.exs Add ability to auto-approve followbacks 2024-02-13 15:42:37 +01:00
20240425120000_upload_filter_exiftool_to_exiftool_strip_location_real.exs Fix Exiftool migration id 2024-05-07 00:16:21 +02:00
20240501190000_drop_unused_indexes.exs Drop unused indices 2024-05-02 00:08:33 +02:00