mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
tower settings removal depends on conf migration
This commit is contained in:
parent
783e86bd41
commit
83b985ed2e
@ -64,11 +64,11 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('conf', '0001_initial'),
|
||||
('main', '0036_v310_jobevent_uuid'),
|
||||
('main', '0034_v310_release'),
|
||||
]
|
||||
|
||||
run_before = [
|
||||
('main', '0037_v310_remove_tower_settings'),
|
||||
('main', '0035_v310_remove_tower_settings'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -31,14 +31,6 @@ class Migration(migrations.Migration):
|
||||
name='allow_simultaneous',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
# Remove Tower settings, these settings are now in separate awx.conf app.
|
||||
migrations.RemoveField(
|
||||
model_name='towersettings',
|
||||
name='user',
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='TowerSettings',
|
||||
),
|
||||
# Job Event UUID
|
||||
migrations.AddField(
|
||||
model_name='jobevent',
|
||||
|
27
awx/main/migrations/0035_v310_remove_tower_settings.py
Normal file
27
awx/main/migrations/0035_v310_remove_tower_settings.py
Normal file
@ -0,0 +1,27 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import awx.main.models.notifications
|
||||
import jsonfield.fields
|
||||
import django.db.models.deletion
|
||||
import awx.main.models.workflow
|
||||
import awx.main.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0034_v310_release'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
# Remove Tower settings, these settings are now in separate awx.conf app.
|
||||
migrations.RemoveField(
|
||||
model_name='towersettings',
|
||||
name='user',
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='TowerSettings',
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user