diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-07 16:37:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:05 +0100 |
commit | 1fd160016ddc8a3260545b73fc0b89ec42eb882f (patch) | |
tree | 7d43c08b685c4f575ff96a55d4e1978cc63f7983 /bitbake/lib/toaster/bldcontrol | |
parent | f0740b038f8efe2dc30aa91ac040e9f4f1eb8e72 (diff) | |
download | poky-1fd160016ddc8a3260545b73fc0b89ec42eb882f.tar.gz |
bitbake: toaster: fix migrations
(Bitbake rev: bfb44886c3bec8320e4f845c9ff24ae2a795aa9f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py b/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py new file mode 100644 index 0000000000..3d90629541 --- /dev/null +++ b/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.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(default=0, choices=[(0, 'stopped'), (1, 'started')]), | ||
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(default=0, choices=[(0, 'free'), (1, 'lock'), (2, 'running')]), | ||
28 | ), | ||
29 | migrations.AlterField( | ||
30 | model_name='buildrequest', | ||
31 | name='state', | ||
32 | field=models.IntegerField(default=0, choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'completed'), (4, 'failed'), (5, 'deleted'), (6, 'cancelling'), (7, 'archive')]), | ||
33 | ), | ||
34 | ] | ||