mirror of https://github.com/zulip/zulip.git
migrations: Switch to AddIndexConcurrently.
This commit is contained in:
parent
225e004bba
commit
6418d86763
|
@ -1,15 +1,18 @@
|
||||||
# Generated by Django 4.2.12 on 2024-04-17 10:33
|
# Generated by Django 4.2.12 on 2024-04-17 10:33
|
||||||
|
|
||||||
|
from django.contrib.postgres.operations import AddIndexConcurrently
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
atomic = False
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
("zerver", "0509_fix_emoji_metadata"),
|
("zerver", "0509_fix_emoji_metadata"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AddIndex(
|
AddIndexConcurrently(
|
||||||
model_name="realmauditlog",
|
model_name="realmauditlog",
|
||||||
index=models.Index(
|
index=models.Index(
|
||||||
fields=["realm", "event_type", "event_time"],
|
fields=["realm", "event_type", "event_time"],
|
||||||
|
|
Loading…
Reference in New Issue