From b146b88bf7310626eab0e223aa7f45349e4bf9e0 Mon Sep 17 00:00:00 2001 From: David Vogt Date: Tue, 23 Jan 2024 15:26:10 +0100 Subject: [PATCH] chore(migrations): migrate related name on some many:many fields This is basically a no-op, just Django cleaing up some old stuff. Previously, the `related_name` was set to some value that's invalid/unused now, but hasn't been detected in a long time. --- .../migrations/0047_alter_answer_documents.py | 21 +++++++++++++++++++ .../0032_alter_workflow_start_tasks.py | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 caluma/caluma_form/migrations/0047_alter_answer_documents.py create mode 100644 caluma/caluma_workflow/migrations/0032_alter_workflow_start_tasks.py diff --git a/caluma/caluma_form/migrations/0047_alter_answer_documents.py b/caluma/caluma_form/migrations/0047_alter_answer_documents.py new file mode 100644 index 000000000..fb6b7277f --- /dev/null +++ b/caluma/caluma_form/migrations/0047_alter_answer_documents.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.9 on 2024-01-23 14:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("caluma_form", "0046_file_answer_reverse_keys"), + ] + + operations = [ + migrations.AlterField( + model_name="answer", + name="documents", + field=models.ManyToManyField( + related_name="+", + through="caluma_form.AnswerDocument", + to="caluma_form.document", + ), + ), + ] diff --git a/caluma/caluma_workflow/migrations/0032_alter_workflow_start_tasks.py b/caluma/caluma_workflow/migrations/0032_alter_workflow_start_tasks.py new file mode 100644 index 000000000..85bdcf1e4 --- /dev/null +++ b/caluma/caluma_workflow/migrations/0032_alter_workflow_start_tasks.py @@ -0,0 +1,21 @@ +# Generated by Django 4.2.9 on 2024-01-23 14:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("caluma_workflow", "0031_simple_history"), + ] + + operations = [ + migrations.AlterField( + model_name="workflow", + name="start_tasks", + field=models.ManyToManyField( + help_text="Starting task(s) of the workflow.", + related_name="+", + to="caluma_workflow.task", + ), + ), + ]