24 lines
730 B
Python
24 lines
730 B
Python
# Generated by Django 6.0.2 on 2026-02-12 12:00
|
|
from __future__ import annotations
|
|
|
|
from django.contrib.postgres.indexes import GinIndex
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
"""Replace the JSONField btree index with a GIN index for Postgres."""
|
|
|
|
dependencies = [
|
|
("twitch", "0011_dropbenefit_image_height_dropbenefit_image_width_and_more"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveIndex(
|
|
model_name="dropcampaign",
|
|
name="twitch_drop_operati_fe3bc8_idx",
|
|
),
|
|
migrations.AddIndex(
|
|
model_name="dropcampaign",
|
|
index=GinIndex(fields=["operation_names"], name="twitch_drop_operati_gin_idx"),
|
|
),
|
|
]
|