zulip/zerver/migrations
Alex Vandiver 50c3dd88e6 models: Migrate ids of all non-Message-related tables to bigint.
Migrate all `ids` of anything which does not have a foreign key from
the Message or UserMessage table (and would thus require walking
those) to be `bigint`.  This is done by removing explicit
`BigAutoField`s, trading them for explicit `AutoField`s on the tables
to not be migrated, while updating `DEFAULT_AUTO_FIELD` to the new
default.

In general, the tables adjusted in this commit are small tables -- at
least compared to Messages and UserMessages.

Many-to-many tables without their own model class are adjusted by a
custom Operation, since they do not automatically pick up migrations
when `DEFAULT_AUTO_FIELD` changes[^1].

Note that this does multiple scans over tables to update foreign
keys[^2].  Large installs may wish to hand-optimize this using the
output of `./manage.py sqlmigrate` to join multiple `ALTER TABLE`
statements into one, to speed up the migration.  This is unfortunately
not possible to do generically, as constraint names may differ between
installations.

This leaves the following primary keys as non-`bigint`:
- `auth_group.id`
- `auth_group_permissions.id`
- `auth_permission.id`
- `django_content_type.id`
- `django_migrations.id`
- `otp_static_staticdevice.id`
- `otp_static_statictoken.id`
- `otp_totp_totpdevice.id`
- `two_factor_phonedevice.id`
- `zerver_archivedmessage.id`
- `zerver_client.id`
- `zerver_message.id`
- `zerver_realm.id`
- `zerver_recipient.id`
- `zerver_userprofile.id`

[^1]: https://code.djangoproject.com/ticket/32674
[^2]: https://code.djangoproject.com/ticket/24203
2024-06-05 11:48:27 -07:00
..
0001_initial.py models: Extract zerver.models.streams. 2023-12-16 22:08:44 -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 python: Mark regexes as raw strings. 2024-04-26 12:30:31 -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
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 mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07: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 ruff: Fix SIM113 Use `enumerate()` for index variable in `for` loop. 2024-02-02 10:30:45 -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
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 refactor: Replace HUDDLE with DIRECT_MESSAGE_GROUP. 2024-03-21 16:39:33 -07: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 models: Extract zerver.models.streams. 2023-12-16 22:08:44 -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
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 ruff: Fix PERF401 Use a list comprehension to create a transformed list. 2023-08-07 17:23:55 -07:00
0237_rename_zulip_realm_to_zulipinternal.py django: Use .exists() instead of .count() when possible. 2023-09-11 15:00:37 -07: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 models: Remove duplicate index definition for date_sent. 2023-09-07 16:44:43 -07:00
0245_message_date_sent_finalize_part1.py models: Remove duplicate index definition for date_sent. 2023-09-07 16:44:43 -07: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 python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -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 semgrep: Enforce no bare select_related() calls. 2024-03-22 09:30:17 -07: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
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 python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07: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
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 models: Extract zerver.models.realm_audit_logs. 2023-12-16 22:08:44 -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
0302_case_insensitive_stream_name_index.py
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
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
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 realm: Allow members to move msgs between streams by default. 2024-02-28 13:13:46 -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 notification_trigger: Rename `private_message` to `direct_message`. 2023-08-10 17:41:49 -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 realm: Allow everyone to delete their own messages by default. 2024-02-28 13:13:46 -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 python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07: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 models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07: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 python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07: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 python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07: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 mypy: Upgrade mypy from 1.4.1 to 1.5.1. 2023-09-07 17:51:42 -07: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 settings: Reorder custom profile field types. 2024-01-21 12:51:53 -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 ruff: Fix PERF401 Use a list comprehension to create a transformed list. 2023-08-07 17:23:55 -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 models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08: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 models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08:00
0443_userpresence_new_table_schema.py migration: Make 'rename_indexes_constraints' a lib function. 2023-12-06 18:19:20 -08: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 docs: Update Django links to our current version. 2024-05-24 10:18:37 -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
0462_realmplayground_url_template.py models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08:00
0463_backfill_realmplayground_url_template.py realm_playgrounds: Populate url_template from legacy url_prefix. 2023-07-24 10:29:40 -07:00
0464_remove_realmplayground_url_prefix.py models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08:00
0465_backfill_scheduledmessagenotificationemail_trigger.py notification_trigger: Rename `private_message` to `direct_message`. 2023-08-10 17:41:49 -07:00
0466_realmfilter_order.py linkifier: Support reordering linkifiers. 2023-08-14 15:21:48 -07:00
0467_rename_extradata_realmauditlog_extra_data_json.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
0468_rename_followup_day_email_templates.py models: Extract zerver.models.scheduled_jobs. 2023-12-16 22:08:44 -08:00
0469_realm_create_multiuse_invite_group.py invite: Add new setting for "Who can create multiuse invite links". 2023-09-07 14:21:01 -07:00
0470_set_default_value_for_create_multiuse_invite_group.py invite: Add new setting for "Who can create multiuse invite links". 2023-09-07 14:21:01 -07:00
0471_alter_realm_create_multiuse_invite_group.py invite: Add new setting for "Who can create multiuse invite links". 2023-09-07 14:21:01 -07:00
0472_add_message_realm_id_indexes.py migrations: Add indexes with realm_id. 2023-09-11 15:00:37 -07:00
0473_remove_message_non_realm_id_indexes.py migrations: Remove indexes on Message without realm_id. 2023-09-11 15:00:37 -07:00
0474_realmuserdefault_web_stream_unreads_count_display_policy_and_more.py user_settings: Add new `web_stream_unreads_count_display_policy` field. 2023-09-13 18:45:45 -07:00
0475_realm_jitsi_server_url.py org_settings: Add backend for `realm_jitsi_server_url` setting. 2023-09-21 17:39:10 -07:00
0476_realmuserdefault_automatically_follow_topics_policy_and_more.py models: Set defaults for the user_topic policies. 2023-10-25 02:21:03 +00:00
0477_alter_realmuserdefault_automatically_follow_topics_policy_and_more.py models: Set defaults for the user_topic policies. 2023-10-25 02:21:03 +00:00
0478_realm_enable_guest_user_indicator.py realm: Add setting to control adding "(guest)" indicator to name. 2023-10-12 12:06:10 -07:00
0479_realm_uuid_realm_uuid_owner_secret.py realm: Add uuid and associated secret columns. 2023-10-18 11:00:49 -07:00
0480_realm_backfill_uuid_and_secret.py realm: Add uuid and associated secret columns - backfill migrations. 2023-10-18 11:00:49 -07:00
0481_alter_realm_uuid_alter_realm_uuid_owner_secret.py models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
0482_automatically_follow_unmute_topics_policy_defaults.py models: Set defaults for the user_topic policies. 2023-10-25 02:21:03 +00:00
0483_rename_escape_navigates_to_default_view_realmuserdefault_web_escape_navigates_to_home_view_and_more.py settings: Rename default_view and escape_navigates_to_default_view. 2023-10-26 11:00:12 -07:00
0484_preregistrationrealm_default_language.py registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
0485_alter_usermessage_flags_and_add_index.py topic_mentions: Rename wildcard_mentioned to stream_wildcard_mentioned. 2023-11-10 11:06:26 -08:00
0486_clear_old_data_for_unused_usermessage_flags.py migration: Clear old data for unused usermessage flags. 2023-11-10 11:06:26 -08:00
0487_realm_can_access_all_users_group.py models: Add can_access_all_users_group setting. 2023-11-13 08:04:45 -08:00
0488_set_default_value_for_can_access_all_users_group.py models: Add can_access_all_users_group setting. 2023-11-13 08:04:45 -08:00
0489_alter_realm_can_access_all_users_group.py models: Add can_access_all_users_group setting. 2023-11-13 08:04:45 -08:00
0490_renumber_options_desktop_icon_count_display.py migrations: Fix revert migration to not lose all preferences. 2023-11-21 17:56:53 -08:00
0491_alter_realmuserdefault_web_home_view_and_more.py user_base_settings: Change web_home_view default to inbox view. 2023-11-27 09:41:52 -08:00
0492_realm_push_notifications_enabled_and_more.py models: Add push_notifications_enabled & corresponding end_timestamp. 2023-12-04 07:08:39 -08:00
0493_rename_userhotspot_to_onboardingstep.py models: Rename 'UserHotspot' model to 'OnboardingStep'. 2023-12-06 18:19:20 -08:00
0494_realmuserdefault_automatically_follow_topics_where_mentioned_and_more.py settings: Add "Automatically follow topics where I'm mentioned" setting. 2023-12-11 23:26:11 -08:00
0495_scheduledmessage_read_by_sender.py message_send: Add read_by_sender API parameter. 2023-12-14 08:16:31 -08:00
0496_alter_scheduledmessage_read_by_sender.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
0497_resort_edit_history.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
0498_rename_notifications_stream_realm_new_stream_announcements_stream.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
0499_rename_signup_notifications_stream_realm_signup_announcements_stream.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
0500_realm_zulip_update_announcements_stream.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
0501_delete_dangling_usermessages.py models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
0501_mark_introduce_zulip_view_modals_as_read.py onboarding: Don't show introduce zulip view modals to existing users. 2024-03-19 09:32:59 -07:00
0502_merge_20240319_2236.py migrations: Merge duplicated migration heads. 2024-03-19 19:04:32 -04:00
0503_realm_zulip_update_announcements_level.py zulip_updates: Send zulip updates based on zulip_update_*_level. 2024-03-20 11:48:06 -07:00
0504_customprofilefield_required.py custom_profile_fields: Add "required" parameter to the profile fields. 2024-03-21 10:48:54 -07:00
0505_realmuserdefault_web_font_size_px_and_more.py settings: Add new web information density settings. 2024-03-27 12:58:32 -07:00
0506_realm_require_unique_names.py settings: Add permission to enforce unique names in realm. 2024-04-02 14:55:59 -07:00
0507_rework_realm_upload_quota_gb.py realm: Change implementation approach for upload_quota_gb. 2024-04-15 15:08:56 -07:00
0508_realmuserdefault_receives_typing_notifications_and_more.py settings: Add option to disable seeing typing notifications. 2024-04-16 11:38:12 -07:00
0509_fix_emoji_metadata.py migrations: Add a migration to fix emoji metadata in S3. 2024-04-16 17:13:06 -07:00
0510_add_realmauditlog_realm_event_type_index.py migrations: Switch to AddIndexConcurrently. 2024-04-24 08:56:17 -07:00
0511_stream_creator.py streams: Add creator field. 2024-04-20 19:03:43 -07:00
0512_namedusergroup.py groups: Create NamedUserGroup table. 2024-04-26 17:03:09 -07:00
0513_copy_groups_data_to_named_user_group.py user_groups: Add migration to copy data to NamedUserGroup table. 2024-04-26 17:03:09 -07:00
0514_update_usergroup_foreign_keys_to_namedusergroup.py groups: Update subgroup to be NamedUserGroup. 2024-04-26 17:03:09 -07:00
0515_rename_named_group_can_mention_group_namedusergroup_can_mention_group_and_more.py user_groups: Remove unneeded fields from UserGroup model. 2024-04-26 17:03:09 -07:00
0516_fix_confirmation_preregistrationusers.py migrations: Update 0516 to handle invites with non-default streams. 2024-05-09 09:41:36 -07:00
0517_resort_edit_history.py migrations: Merge 0517 as a no-op. 2024-05-06 09:03:02 -07:00
0518_merge.py migrations: Merge 0517 as a no-op. 2024-05-06 09:03:02 -07:00
0519_archivetransaction_restored_timestamp.py retention: Add .restored_timestamp to ArchiveTransaction. 2024-05-09 10:54:44 -07:00
0520_attachment_zerver_attachment_realm_create_time.py models: Add (realm, create_time) index for the Attachment table. 2024-05-09 10:54:44 -07:00
0521_multiuseinvite_include_realm_default_subscriptions_and_more.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
0522_set_include_realm_default_subscriptions_for_existing_objects.py migrations: Fix buggy migration failing to advance. 2024-05-14 16:54:06 -07:00
0523_alter_multiuseinvite_subscribe_to_default_streams_and_more.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
0524_remove_userprofile_onboarding_steps.py user_profile: Remove 'onboarding_steps' field. 2024-05-29 16:12:35 -07:00
0525_userpresence_last_update_id.py models: New PresenceSequence model and UserPresence.last_update_id col. 2024-06-02 22:08:28 -07:00
0526_user_presence_backfill_last_update_id_to_0.py models: New PresenceSequence model and UserPresence.last_update_id col. 2024-06-02 22:08:28 -07:00
0527_presencesequence.py models: New PresenceSequence model and UserPresence.last_update_id col. 2024-06-02 22:08:28 -07:00
0528_realmauditlog_zerver_realmauditlog_user_activations_idx.py zerver: Add a partial audit log index for counting active users. 2024-06-03 12:35:35 -07:00
0529_fts_bigint_id.py zerver: Move fts_update_log table id to bigint. 2024-06-05 11:48:27 -07:00
0530_alter_useractivity_id_alter_useractivityinterval_id.py models: Migrate ids of UserActivity and UserActivityInterval to bigint. 2024-06-05 11:48:27 -07:00
0531_convert_most_ids_to_bigints.py models: Migrate ids of all non-Message-related tables to bigint. 2024-06-05 11:48:27 -07:00
__init__.py