diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/migrations')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py b/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py new file mode 100644 index 0000000000..4bb9517768 --- /dev/null +++ b/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py | |||
@@ -0,0 +1,19 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | from __future__ import unicode_literals | ||
3 | |||
4 | from django.db import migrations, models | ||
5 | |||
6 | |||
7 | class Migration(migrations.Migration): | ||
8 | |||
9 | dependencies = [ | ||
10 | ('bldcontrol', '0004_auto_20160523_1446'), | ||
11 | ] | ||
12 | |||
13 | operations = [ | ||
14 | migrations.AlterField( | ||
15 | model_name='buildrequest', | ||
16 | name='state', | ||
17 | field=models.IntegerField(choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'failed'), (4, 'deleted'), (5, 'cancelling'), (6, 'completed'), (7, 'archive')], default=0), | ||
18 | ), | ||
19 | ] | ||