[Patchew-devel] [PATCH 1/3] add forgotten migration

Paolo Bonzini posted 3 patches 6 years, 7 months ago
[Patchew-devel] [PATCH 1/3] add forgotten migration
Posted by Paolo Bonzini 6 years, 7 months ago
This was not committed by mistake when adding the parent projects.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 api/migrations/0023_auto_20180308_0810.py | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 api/migrations/0023_auto_20180308_0810.py

diff --git a/api/migrations/0023_auto_20180308_0810.py b/api/migrations/0023_auto_20180308_0810.py
new file mode 100644
index 0000000..ad930c2
--- /dev/null
+++ b/api/migrations/0023_auto_20180308_0810.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.10 on 2018-03-08 08:10
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('api', '0022_project_parent_project'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='project',
+            name='parent_project',
+            field=models.ForeignKey(blank=True, help_text='Parent project which this\n                                       project belongs to. The parent must be a\n                                       top project which has\n                                       parent_project=NULL', null=True, on_delete=django.db.models.deletion.CASCADE, to='api.Project'),
+        ),
+    ]
-- 
2.14.3


_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel
Re: [Patchew-devel] [PATCH 1/3] add forgotten migration
Posted by Fam Zheng 6 years, 7 months ago
On Thu, 03/08 10:39, Paolo Bonzini wrote:
> This was not committed by mistake when adding the parent projects.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

I'll add a travis test for uncommitted migrations.

Fam

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel