mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Without this, Django builds queries with which compare tables' "id"
fields to `("confirmation_confirmation"."object_id")::bigint`; the
explicit cast prevents the index added in the previous commit from
being used.
(cherry picked from commit 9e02e562bb)
16 lines
389 B
Python
16 lines
389 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("confirmation", "0014_confirmation_confirmatio_content_80155a_idx"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="confirmation",
|
|
name="object_id",
|
|
field=models.PositiveBigIntegerField(db_index=True),
|
|
),
|
|
]
|