From ea2be04fe356ed904585cd96cbe2b0e82d6ec3fd Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Tue, 2 Nov 2021 09:03:31 +0100 Subject: [PATCH] TMSS-1124: after merging master into feature branch, fixed migration dependencies --- .../migrations/0010_subtaskinputoutput.py | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 SAS/TMSS/backend/src/tmss/tmssapp/migrations/0010_subtaskinputoutput.py diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/migrations/0010_subtaskinputoutput.py b/SAS/TMSS/backend/src/tmss/tmssapp/migrations/0010_subtaskinputoutput.py new file mode 100644 index 00000000000..bff0eb7b9cb --- /dev/null +++ b/SAS/TMSS/backend/src/tmss/tmssapp/migrations/0010_subtaskinputoutput.py @@ -0,0 +1,45 @@ +# Generated by Django 3.0.9 on 2021-10-28 07:20 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('tmssapp', '0009_populate_subtask_allowed_state_transitions_extra'), + ] + + operations = [ + migrations.AddField( + model_name='subtaskoutput', + name='output_role', + field=models.ForeignKey(help_text='Output connector type (what kind of data is taken from the producer).', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subtask_outputs', to='tmssapp.TaskConnectorType'), + ), + migrations.AlterField( + model_name='dataproducttransform', + name='input', + field=models.ForeignKey(help_text='A dataproduct that was the input of a transformation.', on_delete=django.db.models.deletion.PROTECT, related_name='consumer_transforms', to='tmssapp.Dataproduct'), + ), + migrations.AlterField( + model_name='dataproducttransform', + name='output', + field=models.ForeignKey(help_text='A dataproduct that was produced from the input dataproduct.', on_delete=django.db.models.deletion.PROTECT, related_name='producer_transforms', to='tmssapp.Dataproduct'), + ), + migrations.AlterField( + model_name='subtaskinput', + name='dataproducts', + field=models.ManyToManyField(help_text='The Dataproducts resulting from application of the filter at time of scheduling Although the dataproducts are simply the result of applying the filter on immutable data, the filter application could change over time. We thus store the result of this filtering directly to retain which input was specified for the task..', related_name='consumers', to='tmssapp.Dataproduct'), + ), + migrations.RemoveField( + model_name='subtaskinput', + name='task_relation_blueprint', + ), + migrations.AddField( + model_name='subtaskinput', + name='input_role', + field=models.ForeignKey(help_text='Input connector type (what kind of data can be consumed).', null=True, + on_delete=django.db.models.deletion.CASCADE, related_name='subtask_inputs', + to='tmssapp.TaskConnectorType'), + ), + ] -- GitLab