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
|
||||
|
||||
from django.contrib.postgres.operations import AddIndexConcurrently
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
atomic = False
|
||||
|
||||
dependencies = [
|
||||
("zerver", "0509_fix_emoji_metadata"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddIndex(
|
||||
AddIndexConcurrently(
|
||||
model_name="realmauditlog",
|
||||
index=models.Index(
|
||||
fields=["realm", "event_type", "event_time"],
|
||||
|
|
Loading…
Reference in New Issue