diff --git a/awx/main/migrations/0137_event_partitions.py b/awx/main/migrations/0139_event_partitions.py similarity index 98% rename from awx/main/migrations/0137_event_partitions.py rename to awx/main/migrations/0139_event_partitions.py index 1cff800ef9..f2ddb5c855 100644 --- a/awx/main/migrations/0137_event_partitions.py +++ b/awx/main/migrations/0139_event_partitions.py @@ -64,7 +64,7 @@ class FakeAddField(migrations.AddField): class Migration(migrations.Migration): dependencies = [ - ('main', '0136_scm_track_submodules'), + ('main', '0138_custom_inventory_scripts_removal'), ] operations = [ diff --git a/awx/main/utils/common.py b/awx/main/utils/common.py index 0548bca58b..97d2f51663 100644 --- a/awx/main/utils/common.py +++ b/awx/main/utils/common.py @@ -213,7 +213,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='0137_event_partitions').first().applied + return MigrationRecorder.Migration.objects.filter(app='main', name='0139_event_partitions').first().applied @memoize()