mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
migrations: Switch to AddIndexConcurrently.
This commit is contained in:
committed by
Tim Abbott
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"],
|
||||
|
Reference in New Issue
Block a user