mirror of https://github.com/zulip/zulip.git
migrations: Add recently added indexes concurrently.
This commit is contained in:
parent
bcc58edfda
commit
5e721f4605
|
@ -1,15 +1,18 @@
|
|||
# Generated by Django 4.2.7 on 2023-12-05 19:33
|
||||
|
||||
from django.contrib.postgres.operations import AddIndexConcurrently
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
atomic = False
|
||||
|
||||
dependencies = [
|
||||
("zilencer", "0044_remoterealmbillinguser"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddIndex(
|
||||
AddIndexConcurrently(
|
||||
model_name="remoterealmauditlog",
|
||||
index=models.Index(
|
||||
condition=models.Q(("remote_realm__isnull", True)),
|
||||
|
@ -17,7 +20,7 @@ class Migration(migrations.Migration):
|
|||
name="zilencer_remoterealmauditlog_server_realm",
|
||||
),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
AddIndexConcurrently(
|
||||
model_name="remoterealmauditlog",
|
||||
index=models.Index(
|
||||
condition=models.Q(("remote_realm__isnull", True)),
|
||||
|
@ -25,7 +28,7 @@ class Migration(migrations.Migration):
|
|||
name="zilencer_remoterealmauditlog_server",
|
||||
),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
AddIndexConcurrently(
|
||||
model_name="remoterealmcount",
|
||||
index=models.Index(
|
||||
condition=models.Q(("remote_realm__isnull", True)),
|
||||
|
@ -33,7 +36,7 @@ class Migration(migrations.Migration):
|
|||
name="zilencer_remoterealmcount_server_realm",
|
||||
),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
AddIndexConcurrently(
|
||||
model_name="remoterealmcount",
|
||||
index=models.Index(
|
||||
condition=models.Q(("remote_realm__isnull", True)),
|
||||
|
|
Loading…
Reference in New Issue