diff --git a/awx/main/migrations/0023_v300_activity_stream_ordering.py b/awx/main/migrations/0023_v300_activity_stream_ordering.py new file mode 100644 index 0000000000..1a67010e3a --- /dev/null +++ b/awx/main/migrations/0023_v300_activity_stream_ordering.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0022_v300_adhoc_extravars'), + ] + + operations = [ + migrations.AlterModelOptions( + name='activitystream', + options={'ordering': ('pk',)}, + ), + ] diff --git a/awx/main/models/activity_stream.py b/awx/main/models/activity_stream.py index 007c29f258..8ff285cb45 100644 --- a/awx/main/models/activity_stream.py +++ b/awx/main/models/activity_stream.py @@ -16,6 +16,7 @@ class ActivityStream(models.Model): class Meta: app_label = 'main' + ordering = ('pk',) OPERATION_CHOICES = [ ('create', _('Entity Created')),