zulip/zerver/migrations
Rishi Gupta b396be4c98 models: Add index on RealmAuditLog.event_time.
Useful for the upcoming check_realmauditlog_by_user_query, if nothing else.

But I suspect it will indeed get use; looking for events around or within a
certain time is pretty natural for an audit log.

The main argument against I would say is that this should actually be a
joint index with something else. I'm not sure what that something else
should be, so just optimizing for what I think
check_realmauditlog_by_user_query will need for now.
2017-04-14 11:41:07 -07:00
..
0001_initial.py lint: Clean up E123 PEP-8 rule. 2017-01-23 21:34:26 -08:00
0002_django_1_8.py zerver/migrations: Squash an AlterField from 0002 into 0001. 2016-07-06 11:40:12 -07:00
0003_custom_indexes.py Add remaining custom indexes that were created by South migrations 2015-08-23 21:47:12 -07:00
0004_userprofile_left_side_userlist.py Add UserProfile flag to control whether we have a left side userlist. 2015-09-19 23:22:59 -07:00
0005_auto_20150920_1340.py Move API super users configuration into the database. 2015-09-20 11:13:20 -07:00
0006_zerver_userprofile_email_upper_idx.py Add case-insensitive index on UserProfile.email. 2016-01-09 20:01:37 -08:00
0007_userprofile_is_bot_active_indexes.py Add UserProfile indexes on is_active and is_bot. 2016-01-09 20:01:37 -08:00
0008_preregistrationuser_upper_email_idx.py Add case-insensitive index on PreregistrationUser.email. 2016-01-09 20:01:37 -08:00
0009_add_missing_migrations.py Add missing migrations present in models.py. 2016-01-26 20:38:46 -08:00
0010_delete_streamcolor.py Delete unused old StreamColor model. 2016-04-08 13:06:04 -07:00
0011_remove_guardian.py Annotate zerver.migrations. 2016-06-28 16:38:33 -07:00
0012_remove_appledevicetoken.py Remove obsolete AppleDeviceToken model. 2016-04-20 21:51:52 -07:00
0013_realmemoji.py Replace bytes by strings in zerver migrations 2, 13, 18. 2016-07-04 12:08:37 -07:00
0014_realm_emoji_url_length.py Increase maximum URL length for RealmEmoji to 1000. 2016-05-02 19:02:56 -07:00
0015_attachment.py Add Attachment model to keep track of uploads. 2016-05-02 22:14:47 -07:00
0016_realm_create_stream_by_admins_only.py Add setting to only allow admins create new streams. 2016-05-18 18:53:13 -07:00
0017_userprofile_bot_type.py Add bot_type field to UserProfile. 2016-05-19 22:37:37 -07:00
0018_realm_emoji_message.py translations: Improve some poorly-worded strings. 2017-01-28 18:04:17 -08:00
0019_preregistrationuser_realm_creation.py Add interface for creating new realms. 2016-06-17 16:15:28 -07:00
0020_add_tracking_attachment.py lint: Ban importing zerver.models in database migrations. 2017-03-04 17:32:48 -08:00
0021_migrate_attachment_data.py Change if(realm.domain == mit.edu) to use Realm.is_zephyr_mirror_realm. 2017-03-13 14:17:14 -07:00
0022_subscription_pin_to_top.py Add ability to pin streams to top of the streams sidebar list. 2016-06-30 22:26:09 -07:00
0023_userprofile_default_language.py Change all default values in models to unicode. 2016-07-11 21:30:32 -07:00
0024_realm_allow_message_editing.py Add realm setting to disable message editing. 2016-07-10 11:57:24 -07:00
0025_realm_message_content_edit_limit.py Add realm setting to time-limit editing of message content. 2016-07-15 13:55:49 -07:00
0026_delete_mituser.py Remove old MitUser model and related code. 2016-07-26 20:30:12 -07:00
0027_realm_default_language.py Add realm-level default language setting. 2016-08-09 17:38:29 -07:00
0028_userprofile_tos_version.py Terms of Service: Fix corner cases around new users being created. 2016-08-13 00:19:54 -07:00
0029_realm_subdomain.py Add option for hosting each realm on its own subdomain. 2016-09-27 23:24:14 -07:00
0030_realm_org_type.py Add new organization type field to Realm objects. 2016-10-05 17:01:46 -07:00
0031_remove_system_avatar_source.py Add migration to remove system avatar source. 2016-10-22 20:07:21 -07:00
0032_verify_all_medium_avatar_images.py Add medium size avatars for use on the user's own settings page. 2016-10-25 09:42:14 -07:00
0033_migrate_domain_to_realmalias.py Create RealmAlias entries for Realm.domain. 2016-10-25 10:06:39 -07:00
0034_userprofile_enable_online_push_notifications.py Add user setting option to always send push notifications. 2016-10-25 10:52:29 -07:00
0035_realm_message_retention_period_days.py retention-policy: Add tool to determine expired messages. 2016-10-25 15:38:08 -07:00
0036_rename_subdomain_to_string_id.py models.Realm: Rename subdomain to string_id. 2016-11-02 22:46:34 -07:00
0037_disallow_null_string_id.py lint: Remove zerver/migrations from main exclude list. 2016-12-27 19:45:33 -08:00
0038_realm_change_to_community_defaults.py Change Realm defaults to Community defaults. 2016-11-03 13:53:01 -07:00
0039_realmalias_drop_uniqueness.py RealmAlias: Drop uniqueness constraint when REALMS_HAVE_SUBDOMAINS. 2016-11-03 13:53:01 -07:00
0040_realm_authentication_methods.py auth: Make supported authentication backends a bitfield on realm. 2016-11-06 16:16:24 -08:00
0041_create_attachments_for_old_messages.py Change if(realm.domain == mit.edu) to use Realm.is_zephyr_mirror_realm. 2017-03-13 14:17:14 -07:00
0042_attachment_file_name_length.py attachment: Remove DB limit on length of filenames. 2016-11-15 21:12:05 -08:00
0043_realm_filter_validators.py Add initial implementation of custom realm filters. 2016-11-17 17:11:25 -08:00
0044_reaction.py Add backend support for emoji reactions. 2016-11-26 18:10:21 -08:00
0045_realm_waiting_period_threshold.py Add optional waiting period for users to create streams. 2016-12-15 16:54:30 -08:00
0046_realmemoji_author.py emoji: Add author field to RealmEmoji table and track. 2016-12-27 15:42:04 -08:00
0047_realm_add_emoji_by_admins_only.py emoji: Add add_emoji_by_admins_only realm setting. 2016-12-27 15:46:14 -08:00
0048_enter_sends_default_to_false.py Change UserProfile.enter_sends to default to False. 2016-12-29 15:55:23 -08:00
0049_userprofile_pm_content_in_desktop_notifications.py Add setting hiding private message content in desktop notifications. 2016-12-30 14:10:34 -08:00
0050_userprofile_avatar_version.py Add avatar_version to UserProfile. 2017-01-23 23:29:07 +05:30
0051_realmalias_add_allow_subdomains.py Add RealmAlias.allow_subdomains to model, frontend, and API. 2017-02-08 22:03:27 -08:00
0052_auto_fix_realmalias_realm_nullable.py models: Remove nullable property from RealmAlias.realm. 2017-02-10 23:53:44 -08:00
0053_emailchangestatus.py change-email: Implement confirmation flow. 2017-02-23 03:15:17 -08:00
0054_realm_icon.py realm-icon: Add realm icon feature. 2017-02-26 12:16:07 -08:00
0055_attachment_size.py attachment: Add 'size' field tracking size of uploaded files. 2017-03-01 15:58:21 -08:00
0056_userprofile_emoji_alt_code.py Enable display of emoji as their alt codes in reactions. 2017-03-03 15:19:34 -08:00
0057_realmauditlog.py migrations: Fix upgrade process for RealmAuditLog migration. 2017-03-04 17:24:04 -08:00
0058_realm_email_changes_disabled.py admin: Added realm option to prevent users from changing their email. 2017-03-04 17:32:48 -08:00
0059_userprofile_quota.py migrations: Renumber 0059_userprofile_quota to fix conflict. 2017-03-04 18:38:27 -08:00
0060_move_avatars_to_be_uid_based.py avatar migration: Handle missing avatars for S3 gracefully. 2017-03-08 22:24:07 -08:00
0061_userprofile_timezone.py Add timezone field in UserProfile. 2017-03-15 11:18:24 -07:00
0062_default_timezone.py Timezone should default to empty string. 2017-03-17 21:57:16 -07:00
0063_realm_description.py Add organization description field to realm settings. 2017-03-19 14:05:01 -07:00
0064_sync_uploads_filesize_with_db.py migration: Sync sizes for existing Attachment objects with actual files. 2017-03-21 00:53:22 -07:00
0065_realm_inline_image_preview.py Add realm-level settings to control inline image and url preview. 2017-03-21 15:46:17 -07:00
0066_realm_inline_url_embed_preview.py Add realm-level settings to control inline image and url preview. 2017-03-21 15:46:17 -07:00
0067_archived_models.py retention: Add models to store expired messages. 2017-03-25 18:12:06 -07:00
0068_remove_realm_domain.py models: Remove Realm.domain. 2017-03-25 19:55:48 -07:00
0069_realmauditlog_extra_data.py RealmAuditLog: Add an extra_data field. 2017-03-27 13:22:58 -07:00
0070_userhotspot.py hotspots: Add backend support for tutorial hotspots. 2017-03-29 11:34:32 -07:00
0071_rename_realmalias_to_realmdomain.py models: Rename RealmAlias model to RealmDomain. 2017-04-04 15:48:03 -07:00
0072_realmauditlog_add_index_event_time.py models: Add index on RealmAuditLog.event_time. 2017-04-14 11:41:07 -07:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00