zulip/zerver/migrations
Tim Abbott eaaf0fec04 [schema] Add case-insensitive index on stream names.
We need to run the schema migration manually using

"CREATE INDEX CONCURRENTLY upper_stream_name_idx ON zerver_stream ((upper(name)));"

since we need CONCURRENTLY and I seem to recall that doesn't work with South.

This significantly improves the uncached performance of get_stream()
(e.g. from 32ms to 9ms).  At present, this codepath is not used
particularly heavily since we do cache the stream names and do most of
our filtering by recipient ID, but the index isn't expensive and does
provide a significant improvement in the uncached case.

(imported from commit 4d28dc2e9a02d0602861b165393d90ed18f5f4c8)
2013-10-18 16:38:31 -04:00
..
0001_initial.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0017_auto__add_field_subscription_color.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0018_auto__add_unique_userprofile_email.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0019_auto__add_field_userprofile_tutorial_status.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0020_set_tutorial_finished.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0021_auto__add_field_subscription_notifications.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0022_create_humbug_search_config.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0023_rebuild_search_tsvector.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0024_create_escape_html_function.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0025_auto__add_field_userprofile_enable_sounds.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0026_auto__add_field_userprofile_enable_offline_email_notifications__add_fi.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0027_auto__add_field_userprofile_is_bot__add_field_userprofile_bot_owner.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0028_auto__add_field_userprofile_onboarding_steps.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0029_auto__add_field_message_last_edit_time__add_field_message_edit_history.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0030_auto__chg_field_userprofile_last_reminder.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0031_auto__add_field_userprofile_rate_limits.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0032_auto__add_field_userprofile_avatar_source.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0033_remove_postgres_zephyr_message_full_text_idx.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0034_change_search_stopwords.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0035_auto__add_field_userprofile_is_superuser.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0036_async_fts_update.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0037_auto__add_field_preregistrationuser_realm.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0038_auto__add_referral__add_field_userprofile_invites_granted__add_field_u.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0039_rename_database_tables.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
0040_auto__add_field_stream_email_token.py [schema] models: add an email_token field to Streams. 2013-08-09 14:59:26 -04:00
0041_auto__chg_field_stream_email_token.py [schema][manual] Make Stream.email_token required. 2013-08-13 14:28:47 -04:00
0042_auto__add_realmemoji__add_unique_realmemoji_realm_name.py [migration] Add RealmEmoji model for realm-specific emoji. 2013-08-23 21:39:29 -04:00
0043_auto__add_field_userprofile_alert_words.py [schema] Add backend support for per-user alert words 2013-09-05 10:18:40 -04:00
0044_auto__add_useractivityinterval.py [schema] Collect data on when users are active on site. 2013-09-10 13:25:59 -04:00
0045_auto__add_field_userprofile_muted_topics.py [schema] Add muted_topics to UserProfile 2013-09-11 16:47:37 -04:00
0046_auto__add_field_realm_date_created.py [schema] Add a date_created field to Realm. 2013-09-24 16:19:52 -04:00
0047_auto__add_field_stream_date_created.py [schema] Add a date_created field to zerver_stream. 2013-09-27 16:23:56 -04:00
0048_auto__add_field_realm_notifications_stream.py [schema] Give new realms a default notifications stream, and send signups/creations to it 2013-10-07 15:46:13 -04:00
0049_auto__chg_field_stream_name.py [schema] Increase maximum stream name length to 60. 2013-10-15 09:13:35 -04:00
0050_auto__add_appledevicetoken.py [schema] Add support for keeping track of iOS APNS device tokens 2013-10-16 12:54:28 -04:00
0051_auto__add_field_realm_name.py [schema] Add a name field to zerver_realm. 2013-10-17 13:47:51 -04:00
0052_subject_case_index.py [schema] Add case-insensitive index on message subject field. 2013-10-18 16:38:31 -04:00
0053_stream_name_case_index.py [schema] Add case-insensitive index on stream names. 2013-10-18 16:38:31 -04:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00