From 6af1e7d6a4bf36172a2c391ef9c6cc456ab2450a Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Mon, 7 Jul 2014 10:26:24 +0100 Subject: added 2 migrations Signed-off-by: Milosz Wasilewski --- .../0006_testplan_automated_build_url.py | 20 +++++++++++++++ .../migrations/0002_auto_20140704_1439.py | 29 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 testmanager/testplanner/migrations/0006_testplan_automated_build_url.py create mode 100644 testmanager/testrunner/migrations/0002_auto_20140704_1439.py (limited to 'testmanager') diff --git a/testmanager/testplanner/migrations/0006_testplan_automated_build_url.py b/testmanager/testplanner/migrations/0006_testplan_automated_build_url.py new file mode 100644 index 0000000..b624b0e --- /dev/null +++ b/testmanager/testplanner/migrations/0006_testplan_automated_build_url.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('testplanner', '0005_auto_20140702_1512'), + ] + + operations = [ + migrations.AddField( + model_name='testplan', + name='automated_build_url', + field=models.ForeignKey(blank=True, to='testrunner.JenkinsJob', null=True), + preserve_default=True, + ), + ] diff --git a/testmanager/testrunner/migrations/0002_auto_20140704_1439.py b/testmanager/testrunner/migrations/0002_auto_20140704_1439.py new file mode 100644 index 0000000..da325f6 --- /dev/null +++ b/testmanager/testrunner/migrations/0002_auto_20140704_1439.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('testrunner', '0001_initial'), + ] + + operations = [ + migrations.CreateModel( + name='Bug', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('alias', models.CharField(max_length=32)), + ('tracker', models.CharField(max_length=16, choices=[(b'Linaro Bugzilla', b'Linaro Bugzilla'), (b'Launchpad', b'Launchpad'), (b'Linaro Jira', b'Linaro Jira')])), + ], + options={ + }, + bases=(models.Model,), + ), + migrations.AlterUniqueTogether( + name='bug', + unique_together=set([(b'alias', b'tracker')]), + ), + ] -- cgit v1.2.3