pleroma/priv/repo/migrations
FloatingGhost 98cb255d12 Support elixir1.15
OTP builds to 1.15

Changelog entry

Ensure policies are fully loaded

Fix :warn

use main branch for linkify

Fix warn in tests

Migrations for phoenix 1.17

Revert "Migrations for phoenix 1.17"

This reverts commit 6a3b2f15b74ea5e33150529385215b7a531f3999.

Oban upgrade

Add default empty whitelist

mix format

limit test to amd64

OTP 26 tests for 1.15

use OTP_VERSION tag

baka

just 1.15

Massive deps update

Update locale, deps

Mix format

shell????

multiline???

?

max cases 1

use assert_recieve

don't put_env in async tests

don't async conn/fs tests

mix format

FIx some uploader issues

Fix tests
2023-08-03 17:44:09 +01:00
..
20170320193800_create_user.exs
20170321074828_create_activity.exs
20170321074832_create_object.exs
20170321133335_add_following_list_to_users.exs
20170321143152_add_ap_id_to_users.exs
20170330153447_add_index_to_objects.exs
20170415141210_add_unique_index_to_email_and_nickname.exs
20170416122418_add_avatar_object_to_users.exs
20170418200143_create_webssub_server_subscription.exs
20170423154511_add_fields_to_users.exs
20170426154155_create_websub_client_subscription.exs
20170427054757_add_user_and_hub.exs
20170501124823_add_id_contraints_to_activities_and_objects.exs
20170501133231_add_id_contraints_to_activities_and_objects_part_two.exs
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
20170529093232_longer_bios.exs
20170620095947_remove_activities_index.exs
20170620133028_add_object_activity_index.exs
20170620142420_add_object_activity_index_part_two.exs
20170701142005_add_actor_index_to_activity.exs
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
20170906143140_create_o_auth_authorizations.exs
20170906152508_create_o_auth_token.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20170911123607_create_notifications.exs
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
20170917120416_add_tag_index.exs
20171019141706_create_password_reset_tokens.exs
20171023155035_add_second_object_index_to_activty.exs
20171024090137_drop_object_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20171024121413_add_object_actor_index.exs
20171109091239_add_actor_to_activity.exs
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
20171130135819_add_local_index_to_user.exs
20171212163643_add_recipients_to_activities.exs
20171212164525_fill_recipients_in_activities.exs
20180221210540_make_following_postgres_array.exs
20180325172351_add_follower_address_index_to_users.exs
20180327174350_drop_local_index_on_activities.exs
20180327175831_actually_drop_local_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20180429094642_create_lists.exs
20180513104714_modify_activity_index.exs
20180516144508_add_trigram_extension.exs
20180516154905_create_user_trigram_index.exs
20180530123448_add_list_follow_index.exs
20180606173637_create_apid_host_extraction_index.exs
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
20180813003722_create_filters.exs
20180829082446_add_recipients_to_and_cc_fields_to_activities.exs
20180829182612_activities_add_to_cc_indices.exs
20180829183529_remove_recipients_to_and_cc_fields_from_activities.exs
20180903114437_users_add_is_moderator_index.exs
20180918182427_create_push_subscriptions.exs
20180919060348_users_add_last_refreshed_at.exs
20181201104428_add_uuid_extension.exs
20181201105617_add_uui_ds_to_user_info.exs
20181206125616_add_tags_to_users.exs
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
20190109152453_add_visibility_function.exs
20190115085500_create_user_fts_index.exs
20190118074940_fix_user_trigram_index.exs
20190122153157_update_activity_visibility.exs
20190123092341_users_add_is_admin_index.exs
20190123125546_create_instances.exs
20190123125839_fix_info_ids.exs [#1033] Fix database migrations 2019-07-01 01:08:07 +00:00
20190124131141_update_activity_visibility_again.exs
20190126160540_change_push_subscriptions_varchar.exs
20190127151220_add_activities_likes_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190203185340_split_hide_network.exs
20190204200237_add_correct_dm_index.exs
20190205114625_create_thread_mutes.exs
20190208131753_add_scopes_to_o_auth_entities.exs
20190213185503_change_apps_scopes_to_varchar_array.exs
20190213185600_data_migration_populate_o_auth_scopes.exs
20190222104808_data_migration_normalize_scopes.exs
20190301101154_add_default_tags_to_user.exs
20190303120636_update_user_note_counters.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190315101315_create_registrations.exs
20190325185009_create_notification_id_index.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190328053912_create_scheduled_activities.exs
20190403131720_add_oauth_token_indexes.exs
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
20190411094120_add_index_on_user_info_deactivated.exs
20190412052952_add_user_info_fields.exs
20190413082658_create_bookmarks.exs
20190413085040_add_signin_and_last_digest_dates_to_user.exs
20190414125034_migrate_old_bookmarks.exs
20190501125843_add_fts_index_to_objects.exs
20190501133552_add_refresh_token_index_to_token.exs
20190506054542_add_multi_factor_authentication_settings_to_user.exs
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
20190513175809_change_hide_column_in_filter_table.exs
20190515222404_add_thread_visibility_function.exs
20190516112144_add_ap_id_to_lists.exs
20190518032627_create_config.exs
20190525071417_add_non_follows_and_non_followers_fields_to_notification_settings.exs
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
20190603173419_add_tag_index_to_objects.exs
20190622151019_add_group_key_to_config.exs
20190710115833_add_following_address_to_user.exs
20190710125051_add_following_address_index_to_user.exs
20190710125158_add_following_address_from_source_data.exs
20190711042021_create_safe_jsonb_set.exs
20190711042024_copy_muted_to_muted_notifications.exs
20190716100804_add_expirations_table.exs
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
20190823000549_add_likes_index_to_objects.exs Enable mix format for migrations 2019-10-08 15:16:39 +03:00
20190912065617_create_deliveries.exs
20190917100019_update_oban.exs use correct versions for oban migrations 2021-01-20 20:07:24 +03:00
20190929201536_drop_subscription_if_exists.exs
20191005165212_add_unread_conversation_count_to_user_info.exs
20191006123824_add_keys_column.exs
20191006135457_move_keys_to_separate_column.exs
20191007073319_create_following_relationships.exs
20191008132217_migrate_following_relationships.exs Fix typos 2019-10-21 14:56:39 +07:00
20191008132427_drop_users_following.exs
20191009154606_add_user_info_columns.exs
20191009154608_copy_users_info_fields_to_users.exs
20191014181019_create_markers.exs
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
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
20191026190415_set_not_null_for_activity_expirations.exs
20191026190500_set_not_null_for_apps.exs
20191026190533_set_not_null_for_bookmarks.exs
20191026190622_set_not_null_for_config.exs
20191026190712_set_not_null_for_conversation_participation_recipient_ships.exs
20191026190759_set_not_null_for_conversation_participations.exs
20191026190841_set_not_null_for_filters.exs
20191026191023_set_not_null_for_instances.exs
20191026191100_set_not_null_for_lists.exs
20191026191134_set_not_null_for_markers.exs
20191026191218_set_not_null_for_moderation_log.exs
20191026191249_set_not_null_for_notifications.exs
20191026191328_set_not_null_for_oauth_authorizations.exs
20191026191401_set_not_null_for_oauth_tokens.exs
20191026191442_set_not_null_for_objects.exs
20191026191524_set_not_null_for_password_reset_tokens.exs
20191026191603_set_not_null_for_push_subscriptions.exs
20191026191635_set_not_null_for_registrations.exs
20191026191711_set_not_null_for_scheduled_activities.exs
20191026191753_set_not_null_for_thread_mutes.exs
20191026191826_set_not_null_for_user_invite_tokens.exs
20191026191910_set_not_null_for_users.exs
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
20191104133100_set_visible_service_actors.exs
20191118084425_create_user_relationships.exs
20191118084500_data_migration_populate_user_relationships.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
20191123030554_add_activitypub_actor_type.exs
20191123103423_remove_info_from_users.exs
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
20191220174645_add_scopes_to_pleroma_feo_auth_records.exs
20200109123126_add_counter_cache_table.exs
20200227122417_add_trusted_to_apps.exs
20200307103755_fix_moderation_log_subjects.exs
20200309123730_create_chats.exs
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
20200323122421_mrf_config_move_from_instance_namespace.exs
20200328124805_change_following_relationships_state_to_integer.exs
20200328130139_add_following_relationships_following_id_index.exs
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
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
20200406105422_users_remove_source_data.exs
20200415181818_update_markers.exs Migration: Fix typo 2020-05-11 22:03:29 +02:00
20200428221338_insert_skeletons_for_deleted_users.exs
20200505072231_remove_magic_key_field.exs
20200508092434_update_counter_cache_table.exs
20200520155351_add_recipients_contain_blocked_domains_function.exs
20200526144426_add_apps_indexes.exs
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
20200602125218_backfill_notification_types.exs
20200602150528_create_chat_message_reference.exs
20200603105113_add_unique_index_to_chat_message_references.exs
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
20200604150318_migrate_seen_to_unread_in_chat_message_references.exs
20200606105430_change_type_to_enum_for_notifications.exs
20200607112923_change_chat_id_to_flake.exs
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
20200703101031_add_chat_acceptance_to_users.exs
20200706060258_remove_tesla_from_config.exs
20200707112859_instances_add_favicon.exs
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
20200724133313_move_welcome_settings.exs
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
20200804183107_add_unique_index_to_app_client_id.exs
20200806175913_rename_instance_chat.exs Add RenameInstanceChat migration 2021-06-01 11:49:47 -05:00
20200808173046_only_expire_creates.exs
20200811125613_set_defaults_to_user_approval_pending.exs
20200811143147_ap_id_not_null.exs
20200817120935_add_invisible_index_to_users.exs
20200824115541_rename_activity_expiration_setting.exs
20200825061316_move_activity_expirations_to_oban.exs
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
20200831115854_add_unread_index_to_conversation_participation.exs
20200831142509_chat_constraints.exs
20200831152600_add_pleroma_report_to_enum_for_notifications.exs
20200831192323_create_backups.exs Add backups table 2020-10-07 18:34:28 +04:00
20200901061256_ensure_bio_is_string.exs
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
20200905091427_rename_timeout_in_pools.exs
20200906072147_remove_cron_stats_worker_from_oban_config.exs
20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs
20200907092050_move_tokens_expiration_into_oban.exs
20200910113106_remove_managed_config_from_db.exs
20200911055909_remove_cron_jobs.exs
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
20200915095704_remove_background_jobs.exs
20200919182636_remoteip_plug_rename.exs
20200925065249_make_user_ids_ci.exs
20200928145912_revert_citext_change.exs
20200930082320_user_ur_is_index_part_three.exs
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
20201012173004_refactor_deactivated_user_field.exs
20201013141127_refactor_locked_user_field.exs
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
20201016205220_refactor_approval_pending_user_field.exs
20201113060459_remove_purge_expired_activity_worker_from_oban_config.exs
20201217172858_data_migration_prolong_o_auth_tokens_valid_until.exs
20201221202251_create_hashtags.exs
20201221202252_remove_data_from_hashtags.exs
20201221203824_create_hashtags_objects.exs
20201231185546_confirm_logged_in_users.exs
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
20210111172254_create_data_migration_failed_ids.exs
20210113225652_deprecate_public_endpoint.exs
20210115205649_upgrade_oban_jobs_to_v9.exs
20210121080964_add_default_text_search_config.exs
20210122151424_add_last_active_at_to_users.exs
20210128092834_remove_duplicates_from_activity_expiration_queue.exs
20210202110641_add_pinned_objects_to_users.exs
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
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
20210222184616_change_hashtags_name_to_text.exs
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
20210717000000_add_poll_to_notifications_enum.exs
20210818023112_add_user_id_to_apps.exs
20211121000000_create_user_notes.exs
20211125110126_force_pinned_objects_to_exist.exs
20211126191138_add_suggestions.exs
20211222165256_add_last_status_at_to_users.exs
20211225154802_add_is_discoverable_index_to_users.exs
20211229075801_user_relationships_target_id_relationship_type_index.exs
20220108213213_add_mastofe_settings.exs Adapt some migrations so they can be rolled back 2023-06-09 22:02:26 +02:00
20220302013920_add_language_to_users.exs
20220308012601_create_announcements.exs
20220506175506_add_index_hotspots.exs
20220509180452_change_thread_visibility_to_be_local_only_aware.exs
20220605185734_add_update_to_notifications_enum.exs
20220718102634_upgrade_oban_to_v11.exs
20220805123645_remove_remote_cancelled_follow_requests.exs
20220831170605_remove_local_cancelled_follows.exs
20220905011454_generate_unset_user_keys.exs
20220911195347_add_user_frontend_profiles.exs
20220916115149_ensure_mastofe_settings.exs
20221020135943_add_nodeinfo.exs Scrape instance nodeinfo (#251) 2022-11-06 22:49:39 +00:00
20221123221956_add_has_request_signatures.exs
20221128103145_add_per_user_post_expiry.exs
20221129105331_add_notification_activity_id_index.exs
20221129110627_add_bookmarks_activity_id_index.exs
20221129110727_add_report_notes_activity_id_index.exs
20221129112022_add_cascade_to_report_notes_on_activity_delete.exs
20221203232118_add_user_follows_hashtag.exs
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
20230522213837_add_unfollowed_dm_restrictions.exs