mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
index_together is slated for removal in Django 5.1: https://docs.djangoproject.com/en/4.2/internals/deprecation/#deprecation-removed-in-5-1 We set the optional index names to match the previously generated index names to avoid adding new migrations. Signed-off-by: Anders Kaseorg <anders@zulip.com>
34 lines
1.0 KiB
Python
34 lines
1.0 KiB
Python
# Generated by Django 1.10.5 on 2017-02-01 22:28
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("zerver", "0050_userprofile_avatar_version"),
|
|
("analytics", "0007_remove_interval"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddIndex(
|
|
model_name="realmcount",
|
|
index=models.Index(
|
|
fields=["property", "end_time"],
|
|
name="analytics_realmcount_property_end_time_3b60396b_idx",
|
|
),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name="streamcount",
|
|
index=models.Index(
|
|
fields=["property", "realm", "end_time"],
|
|
name="analytics_streamcount_property_realm_id_end_time_155ae930_idx",
|
|
),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name="usercount",
|
|
index=models.Index(
|
|
fields=["property", "realm", "end_time"],
|
|
name="analytics_usercount_property_realm_id_end_time_591dbec1_idx",
|
|
),
|
|
),
|
|
]
|