diff options
-rw-r--r-- | bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py b/bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py index 924a5c4a8a..a62ddb7ee4 100644 --- a/bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py +++ b/bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py | |||
@@ -7,10 +7,12 @@ from django.db import models | |||
7 | 7 | ||
8 | class Migration(SchemaMigration): | 8 | class Migration(SchemaMigration): |
9 | 9 | ||
10 | no_dry_run = True | ||
11 | |||
10 | def forwards(self, orm): | 12 | def forwards(self, orm): |
11 | 13 | ||
12 | # Changing field 'Build.project' | 14 | # Changing field 'Build.project' |
13 | db.alter_column(u'orm_build', 'project_id', self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['orm.Project'])) | 15 | db.alter_column(u'orm_build', 'project_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'])) |
14 | 16 | ||
15 | # Changing field 'Project.bitbake_version' | 17 | # Changing field 'Project.bitbake_version' |
16 | db.alter_column(u'orm_project', 'bitbake_version_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.BitbakeVersion'], null=True)) | 18 | db.alter_column(u'orm_project', 'bitbake_version_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.BitbakeVersion'], null=True)) |