forked from HumanSignal/label-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: DEV-2667: Replace inner_id index with multicolumn (HumanSignal#2542
- Loading branch information
1 parent
43d52df
commit 4e340ce
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 3.1.14 on 2022-06-20 10:07 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tasks', '0022_merge_20220517_1128'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='task', | ||
name='inner_id', | ||
field=models.BigIntegerField(default=0, help_text='Internal task ID in the project, starts with 1', null=True, verbose_name='inner id'), | ||
), | ||
migrations.AddIndex( | ||
model_name='task', | ||
index=models.Index(fields=['project', 'inner_id'], name='task_project_499b59_idx'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters