From 40840e3789ff5557619b09dde6d79b16dba54811 Mon Sep 17 00:00:00 2001 From: beeankha Date: Tue, 18 Jun 2019 11:47:53 -0400 Subject: [PATCH] Update migration file to indicate there is no reverse function in case of a rollback --- awx/main/migrations/0081_v360_notify_on_start.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/migrations/0081_v360_notify_on_start.py b/awx/main/migrations/0081_v360_notify_on_start.py index 4240905f40..8871a6fd8c 100644 --- a/awx/main/migrations/0081_v360_notify_on_start.py +++ b/awx/main/migrations/0081_v360_notify_on_start.py @@ -38,7 +38,8 @@ class Migration(migrations.Migration): field=models.ManyToManyField(blank=True, related_name='unifiedjobtemplate_notification_templates_for_started', to='main.NotificationTemplate'), ), # Separate out "any" notifications into "success" and "error" before the "any" state gets deleted. - migrations.RunPython(forwards_split_unified_job_template_any, forwards_split_organization_any), + migrations.RunPython(forwards_split_unified_job_template_any, None), + migrations.RunPython(forwards_split_organization_any, None), migrations.RemoveField( model_name='organization', name='notification_templates_any',