1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Reordered system job template migration to happen after rbac migrations

The system job template migration creates SystemJobTemplate instances,
which necessarily depend on the RBAC modifications.
This commit is contained in:
Akita Noek 2016-03-09 16:03:57 -05:00
parent 26f73fa68e
commit ddf3265bd2
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ class Migration(migrations.Migration):
('taggit', '0002_auto_20150616_2121'),
('contenttypes', '0002_remove_content_type_name'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('main', '0006_v300_changes'),
('main', '0005_v300_active_flag_removal'),
]
operations = [

View File

@ -8,7 +8,7 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0007_v300_rbac_changes'),
('main', '0006_v300_rbac_changes'),
]
operations = [

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
from django.db import migrations
from django.utils.timezone import now
from awx.api.license import feature_enabled
@ -107,7 +107,7 @@ def create_system_job_templates(apps, schema_editor):
class Migration(migrations.Migration):
dependencies = [
('main', '0005_v300_active_flag_removal'),
('main', '0008_v300_rbac_drop_fields'),
]
operations = [