From fabd2eec635bfa0af20b684996e3b8b1742e7970 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Tue, 10 Nov 2020 15:18:49 -0500 Subject: [PATCH] avoid breaking upgrades from certain AWX versions the prior version of this migration was rewritten, so we should run the function again to really make sure that cleanup happens --- .../0122_really_remove_cloudforms_inventory.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 awx/main/migrations/0122_really_remove_cloudforms_inventory.py diff --git a/awx/main/migrations/0122_really_remove_cloudforms_inventory.py b/awx/main/migrations/0122_really_remove_cloudforms_inventory.py new file mode 100644 index 0000000000..ee44573304 --- /dev/null +++ b/awx/main/migrations/0122_really_remove_cloudforms_inventory.py @@ -0,0 +1,13 @@ +from django.db import migrations +from awx.main.migrations._inventory_source import delete_cloudforms_inv_source + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0121_delete_toweranalyticsstate'), + ] + + operations = [ + migrations.RunPython(delete_cloudforms_inv_source), + ]