From dfa85109d6022dce47983ef8e887448b4e3dc48f Mon Sep 17 00:00:00 2001 From: Sujith H Date: Wed, 6 Apr 2016 17:46:34 +0100 Subject: bitbake: toaster: models Add cancelled state to build outcome A new state CANCELLED is introduced to, distinguish the state of build. [YOCTO #6787] (Bitbake rev: 404f406fecae879703bcfe96f3b65086b115fa8a) Signed-off-by: Sujith H Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- .../orm/migrations/0006_add_cancelled_state.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py (limited to 'bitbake/lib/toaster/orm/migrations') diff --git a/bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py b/bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py new file mode 100644 index 0000000000..91a32a9e00 --- /dev/null +++ b/bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('orm', '0005_task_field_separation'), + ] + + operations = [ + migrations.AlterField( + model_name='build', + name='outcome', + field=models.IntegerField(default=2, choices=[(0, b'Succeeded'), (1, b'Failed'), (2, b'In Progress'), (3, b'Cancelled')]), + ), + ] -- cgit v1.2.3-54-g00ecf