zulip/zerver/migrations
Sahil Batra 1d3f5a0368 migrations: Fix migration to set default for can_mention_group.
This commit updates `0455_set_default_for_can_mention_group`
migration to be more efficient when running for a large number
of UserGroup objects.

Previously, we did a loop over all UserGroup objects and
then did a `bulk_update`. All this happened in a single
transaction and the transaction was being hold for
unacceptably long time for a server with large number
of user groups. Also the SQL generated by Django for
`bulk_update` took almost quadratic time to evaluate,
as the SQL had linear length "CASE" statement which was
being resolved for each row.

We instead now use ".update" so that we can write the migration
without using loop and update the objects in batches of size
1000 so that we do not hold a transaction for very long time.
This also helps in avoiding the inefficient SQL that was being
executed due to using `bulk_update`.

We also update the queries to exclude the groups that already
have `can_mention_group` set to a non-null value, as this will
help in migration completing quickly when running it more than
once.
2023-07-21 14:41:18 -07:00
..
0001_initial.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0029_realm_subdomain.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0030_realm_org_type.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0031_remove_system_avatar_source.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0032_verify_all_medium_avatar_images.py utils: Remove make_safe_digest wrapper. 2023-07-19 10:54:05 -07:00
0033_migrate_domain_to_realmalias.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0034_userprofile_enable_online_push_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0035_realm_message_retention_period_days.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0036_rename_subdomain_to_string_id.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0037_disallow_null_string_id.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0038_realm_change_to_community_defaults.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0039_realmalias_drop_uniqueness.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0040_realm_authentication_methods.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0041_create_attachments_for_old_messages.py ruff: Fix B034 `re.split`, `re.sub` should pass keyword arguments. 2023-07-19 16:14:59 -07:00
0042_attachment_file_name_length.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0043_realm_filter_validators.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0044_reaction.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0045_realm_waiting_period_threshold.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0046_realmemoji_author.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0047_realm_add_emoji_by_admins_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0048_enter_sends_default_to_false.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0049_userprofile_pm_content_in_desktop_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0050_userprofile_avatar_version.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0051_realmalias_add_allow_subdomains.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0052_auto_fix_realmalias_realm_nullable.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0053_emailchangestatus.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0054_realm_icon.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0055_attachment_size.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0056_userprofile_emoji_alt_code.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0057_realmauditlog.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0058_realm_email_changes_disabled.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0059_userprofile_quota.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0060_move_avatars_to_be_uid_based.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0061_userprofile_timezone.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0062_default_timezone.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0063_realm_description.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0064_sync_uploads_filesize_with_db.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0065_realm_inline_image_preview.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0066_realm_inline_url_embed_preview.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0067_archived_models.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0068_remove_realm_domain.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0069_realmauditlog_extra_data.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0070_userhotspot.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0071_rename_realmalias_to_realmdomain.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0072_realmauditlog_add_index_event_time.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0073_custom_profile_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0074_fix_duplicate_attachments.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0075_attachment_path_id_unique.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0076_userprofile_emojiset.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0077_add_file_name_field_to_realm_emoji.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0078_service.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0079_remove_old_scheduled_jobs.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0080_realm_description_length.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0081_make_emoji_lowercase.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0082_index_starred_user_messages.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0083_index_mentioned_user_messages.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0084_realmemoji_deactivated.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0085_fix_bots_with_none_bot_type.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0086_realm_alter_default_org_type.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0087_remove_old_scheduled_jobs.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0088_remove_referral_and_invites.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0089_auto_20170710_1353.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0090_userprofile_high_contrast_mode.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0091_realm_allow_edit_history.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0092_create_scheduledemail.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0093_subscription_event_log_backfill.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0094_realm_filter_url_validator.py migrations: Remove filter_format_validator. 2023-04-19 12:20:49 -07:00
0095_index_unread_user_messages.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0096_add_password_required.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0097_reactions_emoji_code.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0098_index_has_alert_word_user_messages.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0099_index_wildcard_mentioned_user_messages.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0100_usermessage_remove_is_me_message.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0101_muted_topic.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0102_convert_muted_topic.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0103_remove_userprofile_muted_topics.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0104_fix_unreads.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0105_userprofile_enable_stream_push_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0106_subscription_push_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0107_multiuseinvite.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0108_fix_default_string_id.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0109_mark_tutorial_status_finished.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0110_stream_is_in_zephyr_realm.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0111_botuserstatedata.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0112_index_muted_topics.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0113_default_stream_group.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0114_preregistrationuser_invited_as_admin.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0115_user_groups.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0116_realm_allow_message_deleting.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0117_add_desc_to_user_group.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0118_defaultstreamgroup_description.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0119_userprofile_night_mode.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0120_botuserconfigdata.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0121_realm_signup_notifications_stream.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0122_rename_botuserstatedata_botstoragedata.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0123_userprofile_make_realm_email_pair_unique.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0124_stream_enable_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0125_realm_max_invites.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0126_prereg_remove_users_without_realm.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0127_disallow_chars_in_stream_and_user_name.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0128_scheduledemail_realm.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0129_remove_userprofile_autoscroll_forever.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0130_text_choice_in_emojiset.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0131_realm_create_generic_bot_by_admins_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0132_realm_message_visibility_limit.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0133_rename_botuserconfigdata_botconfigdata.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0134_scheduledmessage.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0135_scheduledmessage_delivery_type.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0136_remove_userprofile_quota.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0137_realm_upload_quota_gb.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0138_userprofile_realm_name_in_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0139_fill_last_message_id_in_subscription_logs.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0140_realm_send_welcome_emails.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0141_change_usergroup_description_to_textfield.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0142_userprofile_translate_emoticons.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0143_realm_bot_creation_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0144_remove_realm_create_generic_bot_by_admins_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0145_reactions_realm_emoji_name_to_id.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0146_userprofile_message_content_in_email_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0147_realm_disallow_disposable_email_addresses.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0148_max_invites_forget_default.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0149_realm_emoji_drop_unique_constraint.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0150_realm_allow_community_topic_editing.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0151_last_reminder_default_none.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0152_realm_default_twenty_four_hour_time.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0153_remove_int_float_custom_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0154_fix_invalid_bot_owner.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0155_change_default_realm_description.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0156_add_hint_to_profile_field.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0157_userprofile_is_guest.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0158_realm_video_chat_provider.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0159_realm_google_hangouts_domain.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0160_add_choice_field.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0161_realm_message_content_delete_limit_seconds.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0162_change_default_community_topic_editing.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0163_remove_userprofile_default_desktop_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0164_stream_history_public_to_subscribers.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0165_add_date_to_profile_field.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0166_add_url_to_profile_field.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0167_custom_profile_fields_sort_order.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0168_stream_is_web_public.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0169_stream_is_announcement_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0170_submessage.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0171_userprofile_dense_mode.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0172_add_user_type_of_custom_profile_field.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0173_support_seat_based_plans.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0174_userprofile_delivery_email.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0175_change_realm_audit_log_event_type_tense.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0176_remove_subscription_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0177_user_message_add_and_index_is_private_flag.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0178_rename_to_emails_restricted_to_domains.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0179_rename_to_digest_emails_enabled.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0180_usermessage_add_active_mobile_push_notification.py models: Manage index from migration 0180 with Django. 2022-02-23 11:59:45 -08:00
0181_userprofile_change_emojiset.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0182_set_initial_value_is_private_flag.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0183_change_custom_field_name_max_length.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0184_rename_custom_field_types.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0185_realm_plan_type.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0186_userprofile_starred_message_counts.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0187_userprofile_is_billing_admin.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0188_userprofile_enable_login_emails.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0189_userprofile_add_some_emojisets.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0190_cleanup_pushdevicetoken.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0191_realm_seat_limit.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0192_customprofilefieldvalue_rendered_value.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0193_realm_email_address_visibility.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0194_userprofile_notification_sound.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0195_realm_first_visible_message_id.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0196_add_realm_logo_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0197_azure_active_directory_auth.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0198_preregistrationuser_invited_as.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0199_userstatus.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0200_remove_preregistrationuser_invited_as_admin.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0201_zoom_video_chat.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0202_add_user_status_info.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0203_realm_message_content_allowed_in_email_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0204_remove_realm_billing_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0205_remove_realmauditlog_requires_billing_update.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0206_stream_rendered_description.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0207_multiuseinvite_invited_as.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0208_add_realm_night_logo_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0209_stream_first_message_id.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0209_user_profile_no_empty_password.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0210_stream_first_message_id.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0211_add_users_field_to_scheduled_email.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0212_make_stream_email_token_unique.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0213_realm_digest_weekday.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0214_realm_invite_to_stream_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0215_realm_avatar_changes_disabled.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0216_add_create_stream_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0217_migrate_create_stream_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0218_remove_create_stream_by_admins_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0219_toggle_realm_digest_emails_enabled_default.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0220_subscription_notification_settings.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0221_subscription_notifications_data_migration.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0222_userprofile_fluid_layout_width.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0223_rename_to_is_muted.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0224_alter_field_realm_video_chat_provider.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0225_archived_reaction_model.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0226_archived_submessage_model.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0227_inline_url_embed_preview_default_off.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0228_userprofile_demote_inactive_streams.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0229_stream_message_retention_days.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0230_rename_to_enable_stream_audible_notifications.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0231_add_archive_transaction_model.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0232_make_archive_transaction_field_not_nullable.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0233_userprofile_avatar_hash.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0234_add_external_account_custom_profile_field.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0235_userprofile_desktop_icon_count_display.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0236_remove_illegal_characters_email_full.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0237_rename_zulip_realm_to_zulipinternal.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0238_usermessage_bigint_id.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0239_usermessage_copy_id_to_bigint_id.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0240_usermessage_migrate_bigint_id_into_id.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0241_usermessage_bigint_id_migration_finalize.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0242_fix_bot_email_property.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0243_message_add_date_sent_column.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0244_message_copy_pub_date_to_date_sent.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0245_message_date_sent_finalize_part1.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0246_message_date_sent_finalize_part2.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0247_realmauditlog_event_type_to_int.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0248_userprofile_role_start.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0249_userprofile_role_finish.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0250_saml_auth.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0251_prereg_user_add_full_name.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0252_realm_user_group_edit_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0253_userprofile_wildcard_mentions_notify.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0254_merge_0209_0253.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0255_userprofile_stream_add_recipient_column.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0256_userprofile_stream_set_recipient_column_values.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0257_fix_has_link_attribute.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0258_enable_online_push_notifications_default.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0259_missedmessageemailaddress.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0260_missed_message_addresses_from_redis_to_db.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0261_pregistrationuser_clear_invited_as_admin.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0261_realm_private_message_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0262_mutedtopic_date_muted.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0263_stream_stream_post_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0264_migrate_is_announcement_only.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0265_remove_stream_is_announcement_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0266_userpresence_realm.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0267_backfill_userpresence_realm_id.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0268_add_userpresence_realm_timestamp_index.py models: Convert deprecated index_together option to indexes. 2023-07-12 07:12:43 -07:00
0269_gitlab_auth.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0270_huddle_recipient.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0271_huddle_set_recipient_column_values.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0272_realm_default_code_block_language.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0273_migrate_old_bot_messages.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0274_nullbooleanfield_to_booleanfield.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0275_remove_userprofile_last_pointer_updater.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0276_alertword.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0277_migrate_alert_word.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0278_remove_userprofile_alert_words.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0279_message_recipient_subject_indexes.py models: Manage indexes from migration 0279 with Django. 2022-02-23 11:59:45 -08:00
0280_userprofile_presence_enabled.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0281_zoom_oauth.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0282_remove_zoom_video_chat.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0283_apple_auth.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0284_convert_realm_admins_to_realm_owners.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0285_remove_realm_google_hangouts_domain.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0286_merge_0260_0285.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0287_clear_duplicate_reactions.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0288_reaction_unique_on_emoji_code.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0289_tighten_attachment_size.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0290_remove_night_mode_add_color_scheme.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0291_realm_retention_days_not_null.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0292_update_default_value_of_invited_as.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0293_update_invite_as_dict_values.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0294_remove_userprofile_pointer.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0295_case_insensitive_email_indexes.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
0296_remove_userprofile_short_name.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0297_draft.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0298_fix_realmauditlog_format.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0299_subscription_role.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0300_add_attachment_is_web_public.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0301_fix_unread_messages_in_deactivated_streams.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0302_case_insensitive_stream_name_index.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0303_realm_wildcard_mention_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0304_remove_default_status_of_default_private_streams.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0305_realm_deactivated_redirect.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0306_custom_profile_field_date_format.py migrations: Enforce evaluation order in 0306 WHERE clause. 2021-01-29 09:35:52 -08:00
0307_rename_api_super_user_to_can_forge_sender.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0308_remove_reduntant_realm_meta_permissions.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0309_userprofile_can_create_users.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0310_jsonfield.py migrations: Swap out deprecated JSONField import in-place. 2021-03-03 21:46:05 -08:00
0311_userprofile_default_view.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0312_subscription_is_user_active.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0313_finish_is_user_active_migration.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0314_muted_user.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0315_realmplayground.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0316_realm_invite_to_realm_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0317_migrate_to_invite_to_realm_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0318_remove_realm_invite_by_admins_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0319_realm_giphy_rating.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0320_realm_move_messages_between_streams_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0321_userprofile_enable_marketing_emails.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0322_realm_create_audit_log_backfill.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0323_show_starred_message_counts.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0324_fix_deletion_cascade_behavior.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0325_alter_realmplayground_unique_together.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0326_alter_realm_authentication_methods.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0327_realm_edit_topic_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0328_migrate_to_edit_topic_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0329_remove_realm_allow_community_topic_editing.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0330_linkifier_pattern_validator.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0331_scheduledmessagenotificationemail.py mention: Send notifications for @topic wildcard mentions. 2023-07-17 09:39:24 -07:00
0332_realmuserdefault.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0333_alter_realm_org_type.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0334_email_notifications_batching_period.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0335_add_draft_sync_field.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0336_userstatus_status_emoji.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0337_realm_add_custom_emoji_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0338_migrate_to_add_custom_emoji_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0339_remove_realm_add_emoji_by_admins_only.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0340_rename_mutedtopic_to_usertopic.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0341_usergroup_is_system_group.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0342_realm_demo_organization_scheduled_deletion_date.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0343_alter_useractivityinterval_index_together.py models: Convert deprecated index_together option to indexes. 2023-07-12 07:12:43 -07:00
0344_alter_emojiset_default_value.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0345_alter_realm_name.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0346_create_realm_user_default_table.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0347_realm_emoji_animated.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0348_rename_date_muted_usertopic_last_updated.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0349_alter_usertopic_table.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0350_usertopic_visibility_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0351_user_topic_visibility_indexes.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0352_migrate_twenty_four_hour_time_to_realmuserdefault.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0353_remove_realm_default_twenty_four_hour_time.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0354_alter_realm_message_content_delete_limit_seconds.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0355_realm_delete_own_message_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0356_migrate_to_delete_own_message_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0357_remove_realm_allow_message_deleting.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0358_split_create_stream_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0359_re2_linkifiers.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0360_merge_0358_0359.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0361_realm_create_web_public_stream_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0362_send_typing_notifications_user_setting.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0363_send_read_receipts_user_setting.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0364_rename_members_usergroup_direct_members.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0365_alter_user_group_related_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0366_group_group_membership.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0367_scimclient.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0368_alter_realmfilter_url_format_string.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0369_add_escnav_default_display_user_setting.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0370_realm_enable_spectator_access.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0371_invalid_characters_in_topics.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0372_realmemoji_unique_realm_emoji_when_false_deactivated.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0373_fix_deleteduser_dummies.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0374_backfill_user_delete_realmauditlog.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0375_invalid_characters_in_stream_names.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0376_set_realmemoji_author_and_reupload_realmemoji.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0377_message_edit_history_format.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0378_alter_realmuserdefault_realm.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0379_userprofile_uuid.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0380_userprofile_uuid_backfill.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0381_alter_userprofile_uuid.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0382_create_role_based_system_groups.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0383_revoke_invitations_from_deactivated_users.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0384_alter_realm_not_null.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0385_attachment_flags_cache.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0386_fix_attachment_caches.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0387_reupload_realmemoji_again.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0388_preregistrationuser_created_user.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0389_userprofile_display_emoji_reaction_users.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0390_fix_stream_history_public_to_subscribers.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0391_alter_stream_history_public_to_subscribers.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0392_non_nullable_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0393_realm_want_advertise_in_communities_directory.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0394_alter_realm_want_advertise_in_communities_directory.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0395_alter_realm_wildcard_mention_policy.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0396_remove_subscription_role.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0397_remove_custom_field_values_for_deleted_options.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0398_tsvector_statistics.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0399_preregistrationuser_multiuse_invite.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0400_realmreactivationstatus.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0401_migrate_old_realm_reactivation_links.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0402_alter_usertopic_visibility_policy.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0403_create_role_based_groups_for_internal_realms.py migrations: Fix comment in 0403. 2023-03-28 14:26:22 -07:00
0404_realm_enable_read_receipts.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0405_set_default_for_enable_read_receipts.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0406_alter_realm_message_content_edit_limit_seconds.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0407_userprofile_user_list_style.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0408_stream_can_remove_subscribers_group.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0409_set_default_for_can_remove_subscribers_group.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0410_alter_stream_can_remove_subscribers_group.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0411_alter_muteduser_muted_user_and_more.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0412_customprofilefield_display_in_profile_summary.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0413_set_presence_enabled_false_for_user_status_away.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0414_remove_userstatus_status.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0415_delete_scimclient.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0416_set_default_emoji_style.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0417_alter_customprofilefield_field_type.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0418_archivedmessage_realm_message_realm.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0419_backfill_message_realm.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0420_alter_archivedmessage_realm_alter_message_realm.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0421_migrate_pronouns_custom_profile_fields.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0422_multiuseinvite_status.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
0423_fix_email_gateway_attachment_owner.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0424_realm_move_messages_within_stream_limit_seconds.py realm: Add time limit setting for moving message within stream. 2023-02-08 12:46:05 -08:00
0425_realm_move_messages_between_streams_limit_seconds.py realm: Add time limit setting for moving messages between streams. 2023-02-08 12:46:05 -08:00
0426_add_email_address_visibility_setting.py settings: Add email_address_visbility user setting. 2023-02-10 17:35:49 -08:00
0427_migrate_to_user_level_email_address_visibility_setting.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0428_remove_realm_email_address_visibility.py settings: Remove realm-level email_address_visibility setting. 2023-02-10 17:40:33 -08:00
0429_user_topic_case_insensitive_unique_toghether.py user topic: Add case insensitive UNIQUE constraint. 2023-02-20 21:04:13 -08:00
0430_fix_audit_log_objects_for_group_based_stream_settings.py migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
0431_alter_archivedreaction_unique_together_and_more.py models: Drop unique index on user/message/emoji_name. 2023-02-26 17:10:01 -08:00
0432_alter_and_migrate_realm_name_in_notifications.py user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
0433_preregistrationrealm.py models: Add PreregistrationRealm class. 2023-03-27 15:44:42 -07:00
0434_create_nobody_system_group.py user_groups: Add "Nobody" system user group. 2023-03-28 14:26:22 -07:00
0435_scheduledmessage_rendered_content.py models: Allow scheduled msgs to store rendered content. 2023-04-14 17:38:37 -07:00
0436_realmauthenticationmethods.py migrations: Fix performance of migration 0436. 2023-05-03 11:09:23 -07:00
0437_remove_realm_authentication_methods.py auth: Rewrite data model for tracking enabled auth backends. 2023-04-18 09:22:56 -07:00
0438_add_web_mark_read_on_scroll_policy_setting.py user_settings: Add web_mark_read_on_scroll_policy field. 2023-04-18 18:32:02 -07:00
0439_fix_deleteduser_email.py migrations: Fix bug in migration 0439. 2023-06-05 12:16:41 -04:00
0440_realmfilter_url_template.py migrations: Remove filter_format_validator. 2023-04-19 12:20:49 -07:00
0441_backfill_realmfilter_url_template.py migrations: Backfill url_template from url format string. 2023-04-19 12:20:49 -07:00
0442_remove_realmfilter_url_format_string.py linkifier: Support URL templates for linkifiers. 2023-04-19 12:20:49 -07:00
0443_userpresence_new_table_schema.py models: Convert deprecated index_together option to indexes. 2023-07-12 07:12:43 -07:00
0444_userpresence_fill_data.py presence: Rewrite the backend data model. 2023-04-26 14:26:47 -07:00
0445_drop_userpresenceold.py presence: Rewrite the backend data model - final migration. 2023-04-26 14:26:47 -07:00
0446_realmauditlog_zerver_realmauditlog_user_subscriptions_idx.py soft_reactivation: Add a partial index to speed up event lookups. 2023-04-28 12:43:34 -07:00
0447_attachment_scheduled_messages_and_more.py scheduled_message: Handle attachments properly. 2023-05-08 09:56:02 -07:00
0448_scheduledmessage_new_fields.py scheduled_messages: Store the final delivered message ID. 2023-05-09 13:48:28 -07:00
0449_scheduledmessage_zerver_unsent_scheduled_messages_indexes.py scheduled_messages: Add focused scheduled message indexes. 2023-05-09 13:48:28 -07:00
0450_backfill_subscription_auditlogs.py migrations: Backfill missing RealmAuditLog entries for subscriptions. 2023-05-15 16:09:44 -07:00
0451_add_userprofile_api_key_index.py models: Add a unique index on UserProfile.api_key. 2023-05-19 11:11:04 -07:00
0452_realmauditlog_extra_data_json.py migration: Add `extra_data_json` for audit log models. 2023-06-07 12:14:43 -07:00
0453_followed_topic_notifications.py settings: Add email notifications for the followed topics. 2023-06-13 18:01:41 -07:00
0454_usergroup_can_mention_group.py user_groups: Add can_mention_group setting. 2023-06-30 17:28:33 -07:00
0455_set_default_for_can_mention_group.py migrations: Fix migration to set default for can_mention_group. 2023-07-21 14:41:18 -07:00
0456_alter_usergroup_can_mention_group.py user_groups: Add can_mention_group setting. 2023-06-30 17:28:33 -07:00
0457_backfill_scheduledmessagenotificationemail_trigger.py mention: Replace 'wildcards' with 'stream_wildcards'. 2023-07-03 22:03:17 -07:00
0458_realmauditlog_modified_user_group.py models: Add modified_user_group. 2023-07-11 08:56:55 -07:00
0459_remove_invalid_characters_from_user_group_name.py user_groups: Remove "@" from name of role-based system groups. 2023-07-11 13:46:02 -07:00
0460_backfill_realmauditlog_extradata_to_json_field.py migrations: Backfill extra_data_json for audit log entries. 2023-07-15 09:43:23 -07:00
0461_alter_realm_default_code_block_language.py realm-settings: Make default_code_block_language empty string as default. 2023-07-21 18:54:02 +02:00
__init__.py