[PATCH v1 7/9] migrations: Add migration for new field

Adam Hassick ahassick at iol.unh.edu
Tue Jun 18 08:18:54 AEST 2024


Signed-off-by: Adam Hassick <ahassick at iol.unh.edu>
---
 .../migrations/0047_series_dependencies.py    | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 patchwork/migrations/0047_series_dependencies.py

diff --git a/patchwork/migrations/0047_series_dependencies.py b/patchwork/migrations/0047_series_dependencies.py
new file mode 100644
index 0000000..5abbcc3
--- /dev/null
+++ b/patchwork/migrations/0047_series_dependencies.py
@@ -0,0 +1,23 @@
+# Generated by Django 5.0.6 on 2024-06-07 02:58
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+    dependencies = [
+        ('patchwork', '0046_patch_comment_events'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='series',
+            name='dependencies',
+            field=models.ManyToManyField(
+                blank=True,
+                help_text='Optional dependencies on this patch.',
+                related_name='dependents',
+                related_query_name='dependent',
+                to='patchwork.series',
+            ),
+        ),
+    ]
-- 
2.45.2



More information about the Patchwork mailing list