zulip/zerver/models
Lauryn Menard 1d5897060a audit-logs: Add index to RealmAuditLog for realm and event type.
Adds an index on RealmAuditLog for the realm, event_type, and
event_time in order to improve database queries on these audit logs.

tabbott verified using EXPLAIN ANALYZE that this also considerably
speeds up queries that order by ID rather than event_time, but
event_time is how these should be ordered given the possibility of
backfills.
2024-04-19 17:58:59 -07:00
..
__init__.py models: Extract zerver.models.lookups. 2023-12-16 22:08:44 -08:00
alert_words.py models: Extract zerver.models.alert_words. 2023-12-16 22:08:44 -08:00
bots.py models: Extract zerver.models.bots. 2023-12-16 22:08:44 -08:00
clients.py models: Extract zerver.models.clients. 2023-12-16 22:08:44 -08:00
constants.py
custom_profile_fields.py custom_profile_fields: Add "required" parameter to the profile fields. 2024-03-21 10:48:54 -07:00
drafts.py models: Extract zerver.models.drafts. 2023-12-16 22:08:44 -08:00
groups.py models: Extract zerver.models.groups. 2023-12-16 22:08:44 -08:00
linkifiers.py models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08:00
lookups.py models: Extract zerver.models.lookups. 2023-12-16 22:08:44 -08:00
messages.py message-type: Add support for "channel" as value for type parameter. 2024-04-11 09:40:25 -07:00
muted_users.py models: Extract zerver.models.muted_users. 2023-12-16 22:08:44 -08:00
onboarding_steps.py models: Extract zerver.models.onboarding_steps. 2023-12-16 22:08:44 -08:00
prereg_users.py models: Extract zerver.models.prereg_users. 2023-12-16 22:08:44 -08:00
presence.py models: Extract zerver.models.presence. 2023-12-16 22:08:44 -08:00
push_notifications.py models: Extract zerver.models.push_notifications. 2023-12-16 22:08:44 -08:00
realm_audit_logs.py audit-logs: Add index to RealmAuditLog for realm and event type. 2024-04-19 17:58:59 -07:00
realm_emoji.py models: Extract zerver.models.realm_emoji. 2023-12-16 22:08:44 -08:00
realm_playgrounds.py models: Extract zerver.models.realm_playgrounds. 2023-12-16 22:08:44 -08:00
realms.py realms: Add caching to the get_seat_count calculation for upload limit. 2024-04-15 15:08:56 -07:00
recipients.py refactor: Replace HUDDLE with DIRECT_MESSAGE_GROUP. 2024-03-21 16:39:33 -07:00
scheduled_jobs.py models: Extract zerver.models.scheduled_jobs. 2023-12-16 22:08:44 -08:00
streams.py models: Extract zerver.models.streams. 2023-12-16 22:08:44 -08:00
user_activity.py models: Extract zerver.models.user_activity. 2023-12-16 22:08:44 -08:00
user_topics.py models: Extract zerver.models.user_topics. 2023-12-16 22:08:44 -08:00
users.py settings: Add option to disable seeing typing notifications. 2024-04-16 11:38:12 -07:00