migrations: Switch to AddIndexConcurrently.

This commit is contained in:
Alex Vandiver 2024-04-24 03:31:37 +00:00 committed by Tim Abbott
parent 225e004bba
commit 6418d86763
1 changed files with 4 additions and 1 deletions

View File

@ -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"],