diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-11 13:03:26 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:42 +0100 |
commit | 6f4d3375666d16582af96f2e0c18eb309d5ff3bf (patch) | |
tree | ee123ab937910ebaa63f94bdfaf2b3abb2c07efc /bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py | |
parent | adbfdbabedde09fc60dede552d9943db96d33b0d (diff) | |
download | poky-6f4d3375666d16582af96f2e0c18eb309d5ff3bf.tar.gz |
bitbake: toaster: fix migrations
Created two new migrations due to the models changes made
in python3 patchset.
(Bitbake rev: 76ed90505650a964c116802703a6b56614e88806)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py')
-rw-r--r-- | bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py b/bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py new file mode 100644 index 0000000000..4a70e2d8e8 --- /dev/null +++ b/bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py | |||
@@ -0,0 +1,34 @@ | |||
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', '0003_add_cancelling_state'), | ||
11 | ] | ||
12 | |||
13 | operations = [ | ||
14 | migrations.AlterField( | ||
15 | model_name='buildenvironment', | ||
16 | name='bbstate', | ||
17 | field=models.IntegerField(choices=[(0, 'stopped'), (1, 'started')], default=0), | ||
18 | ), | ||
19 | migrations.AlterField( | ||
20 | model_name='buildenvironment', | ||
21 | name='betype', | ||
22 | field=models.IntegerField(choices=[(0, 'local')]), | ||
23 | ), | ||
24 | migrations.AlterField( | ||
25 | model_name='buildenvironment', | ||
26 | name='lock', | ||
27 | field=models.IntegerField(choices=[(0, 'free'), (1, 'lock'), (2, 'running')], default=0), | ||
28 | ), | ||
29 | migrations.AlterField( | ||
30 | model_name='buildrequest', | ||
31 | name='state', | ||
32 | field=models.IntegerField(choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'completed'), (4, 'failed'), (5, 'deleted'), (6, 'cancelling'), (7, 'archive')], default=0), | ||
33 | ), | ||
34 | ] | ||