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
31
32
33
34
| # Generated by Django 3.1.14 on 2022-05-15 23:58
|
| from django.conf import settings
| from django.db import migrations, models
| import django.db.models.deletion
|
|
| class Migration(migrations.Migration):
|
| dependencies = [
| migrations.swappable_dependency(settings.AUTH_USER_MODEL),
| ('tasks', '0020_auto_20220515_2332'),
| ]
|
| operations = [
| migrations.AddField(
| model_name='annotation',
| name='last_action',
| field=models.CharField(choices=[('prediction', 'Created from prediction'), ('imported', 'Imported'), ('submitted', 'Submitted'), ('updated', 'Updated'), ('skipped', 'Skipped'), ('accepted', 'Accepted'), ('rejected', 'Rejected'), ('fixed_and_accepted', 'Fixed and accepted')], default=None, help_text='Action which was performed in the last annotation history item', max_length=128, null=True, verbose_name='last action'),
| ),
| migrations.AddField(
| model_name='annotation',
| name='last_created_by',
| field=models.ForeignKey(default=None, help_text='User who created the last annotation history item', null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='last created by'),
| ),
| migrations.AddIndex(
| model_name='annotation',
| index=models.Index(fields=['last_action'], name='task_comple_last_ac_777e69_idx'),
| ),
| migrations.AddIndex(
| model_name='annotation',
| index=models.Index(fields=['last_created_by'], name='task_comple_last_cr_dedad7_idx'),
| ),
| ]
|
|