summaryrefslogtreecommitdiffstats
path: root/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py')
-rw-r--r--poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py b/poky/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
new file mode 100644
index 000000000..4bb951776
--- /dev/null
+++ b/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),
+ ),
+ ]
OpenPOWER on IntegriCloud