summaryrefslogtreecommitdiffstats
path: root/external/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py')
-rw-r--r--external/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/external/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py b/external/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
new file mode 100644
index 00000000..4bb95177
--- /dev/null
+++ b/external/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('bldcontrol', '0004_auto_20160523_1446'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='buildrequest',
+ name='state',
+ field=models.IntegerField(choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'failed'), (4, 'deleted'), (5, 'cancelling'), (6, 'completed'), (7, 'archive')], default=0),
+ ),
+ ]