Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

655 B
Raw Blame
# Generated by Django 5.1.6 on 2025-02-26 17:25

from django.conf import settings
from django.db import migrations, models

from zerver.lib.migrate import add_index


class Migration(migrations.Migration):
    atomic = not settings.MIGRATIONS_ADD_REMOVE_INDEXES_CONCURRENTLY

    dependencies = [
        ("zerver", "0678_remove_realm_allow_edit_history"),
    ]

    operations = [
        add_index(
            model_name="message",
            index=models.Index(
                condition=models.Q(("edit_history__isnull", False)),
                fields=["id"],
                name="zerver_message_edit_history_id",
            ),
        ),
    ]