diff --git a/lib/workload/stateless/stacks/workflow-manager/workflow_manager/migrations/0002_remove_workflowrun_libraries_and_more.py b/lib/workload/stateless/stacks/workflow-manager/workflow_manager/migrations/0002_remove_workflowrun_libraries_and_more.py new file mode 100644 index 000000000..096cc4be8 --- /dev/null +++ b/lib/workload/stateless/stacks/workflow-manager/workflow_manager/migrations/0002_remove_workflowrun_libraries_and_more.py @@ -0,0 +1,45 @@ +# Generated by Django 5.1 on 2024-09-09 05:16 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("workflow_manager", "0001_initial"), + ] + + operations = [ + migrations.RemoveField( + model_name="workflowrun", + name="libraries", + ), + migrations.AlterField( + model_name="libraryassociation", + name="library", + field=models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, + related_name="workflow_run_association", + to="workflow_manager.library", + ), + ), + migrations.AlterField( + model_name="libraryassociation", + name="workflow_run", + field=models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, + related_name="library_association", + to="workflow_manager.workflowrun", + ), + ), + migrations.AlterField( + model_name="state", + name="workflow_run", + field=models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, + related_name="states", + to="workflow_manager.workflowrun", + ), + ), + ]