diff --git a/awx/main/migrations/0131_event_partitions.py b/awx/main/migrations/0132_event_partitions.py similarity index 98% rename from awx/main/migrations/0131_event_partitions.py rename to awx/main/migrations/0132_event_partitions.py index 3078c00a76..9867748c4a 100644 --- a/awx/main/migrations/0131_event_partitions.py +++ b/awx/main/migrations/0132_event_partitions.py @@ -95,7 +95,7 @@ class FakeAddField(migrations.AddField): class Migration(migrations.Migration): dependencies = [ - ('main', '0130_ee_polymorphic_set_null'), + ('main', '0131_undo_org_polymorphic_ee'), ] operations = [ diff --git a/awx/main/utils/common.py b/awx/main/utils/common.py index 8daf3d116e..9945884b1d 100644 --- a/awx/main/utils/common.py +++ b/awx/main/utils/common.py @@ -212,7 +212,7 @@ def memoize_delete(function_name): def get_event_partition_epoch(): from django.db.migrations.recorder import MigrationRecorder return MigrationRecorder.Migration.objects.filter( - app='main', name='0131_event_partitions' + app='main', name='0132_event_partitions' ).first().applied