chenzhaoyang
2025-12-17 d3e5a4b7658ece4f845bbc0c4f95acf3fbdf8a61
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Generated by Django 3.2.20 on 2023-09-07 01:55
 
from django.db import migrations, models
from django.conf import settings
 
IS_SQLITE = settings.DJANGO_DB == settings.DJANGO_DB_SQLITE
 
if IS_SQLITE:
    from django.db.migrations import AddIndex
else:
    from django.contrib.postgres.operations import AddIndexConcurrently as AddIndex
 
 
class Migration(migrations.Migration):
    atomic = IS_SQLITE
 
    dependencies = [
        ('tasks', '0043_auto_20230825'),
    ]
 
    operations = [
        AddIndex(
            model_name='annotation',
            index=models.Index(fields=['project', 'id'], name='task_comple_project_c7e507_idx'),
        ),
        AddIndex(
            model_name='task',
            index=models.Index(fields=['project', 'id'], name='task_project_7b1c80_idx'),
        ),
    ]