pleroma/priv/repo/migrations
rinpatch e55876409b Deactivate local users on deletion instead of deleting the record
Prevents the possibility of re-registration, which allowed to read
DMs of the deleted account.

Also includes a migration that tries to find any already deleted
accounts and insert skeletons for them.

Closes pleroma/pleroma#1687
2020-05-02 19:05:13 +03: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 Fixup old migrations. 2017-09-17 00:01:49 +02:00
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 Enable mix format for migrations 2019-10-08 15:16:39 +03: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 Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180516154905_create_user_trigram_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03: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 [#1033] Fix database migrations 2019-07-01 01:08:07 +00: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 renaming expire_at -> expires_at 2019-04-08 16:01:28 +07:00
20190405160700_add_index_on_subscribers.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190408123347_create_conversations.exs same copyright date format 2020-03-04 09:41:23 +03: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 Set digest emails to false by default 2019-04-21 16:36:25 +07:00
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 Add User.list_inactive_users_query/1 2019-04-19 22:19:00 +07:00
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
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 Enable mix format for migrations 2019-10-08 15:16:39 +03: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 Migrations: Make them not fail for old databases 2020-02-20 16:44:31 +01:00
20190711042021_create_safe_jsonb_set.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
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 [#1149] Replaced RetryQueue with oban-based retries. 2019-08-01 17:28:00 +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 Update oban to 0.8.1 2019-09-17 13:04:43 +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 [#1335] Reorganized users.subscribers as UserRelationship. Added tests for UserRelationship-related functionality. 2019-11-20 15:46:11 +03: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
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
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
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 fix Oban migration 2020-04-10 21:27:50 +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
20200428221338_insert_skeletons_for_deleted_users.exs Deactivate local users on deletion instead of deleting the record 2020-05-02 19:05:13 +03:00