add index for models

This commit is contained in:
2026-04-23 14:10:48 -06:00
parent 028ea6e5f9
commit e2d566436f
13 changed files with 165 additions and 29 deletions

View File

@@ -0,0 +1,20 @@
# Generated by Django 6.0 on 2026-04-23 20:07
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('contest', '0003_acmcontestrank_acm_rank_contest_user_idx_and_more'),
('problem', '0006_problem_problem_contest_visible_idx'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.AddIndex(
model_name='problem',
index=models.Index(fields=['visible'], name='problem_visible_idx'),
),
]