mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
remove unneeded data migrations from squashed migrations
This commit is contained in:
parent
384dbb6da2
commit
434b0f1f25
@ -6,7 +6,6 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import awx.main.fields
|
||||
from awx.main.migrations import _cleanup_deleted as cleanup_deleted
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
@ -248,8 +247,6 @@ class Migration(migrations.Migration):
|
||||
name='fact',
|
||||
index_together=set([('timestamp', 'module', 'host')]),
|
||||
),
|
||||
# Active flag cleanup
|
||||
migrations.RunPython(cleanup_deleted.cleanup_deleted),
|
||||
# Active flag removal
|
||||
migrations.RemoveField(
|
||||
model_name='credential',
|
||||
|
@ -5,9 +5,6 @@
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from awx.main.migrations import _migration_utils as migration_utils
|
||||
from awx.main.migrations import _save_password_keys
|
||||
|
||||
from django.db import migrations, models
|
||||
from django.conf import settings
|
||||
import awx.main.fields
|
||||
@ -44,7 +41,6 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
|
||||
# Labels Changes
|
||||
migrations.RemoveField(
|
||||
model_name='job',
|
||||
@ -146,7 +142,6 @@ class Migration(migrations.Migration):
|
||||
name='survey_passwords',
|
||||
field=jsonfield.fields.JSONField(default={}, editable=False, blank=True),
|
||||
),
|
||||
migrations.RunPython(_save_password_keys.migrate_survey_passwords),
|
||||
# RBAC credential permission updates
|
||||
migrations.AlterField(
|
||||
model_name='credential',
|
||||
@ -158,5 +153,4 @@ class Migration(migrations.Migration):
|
||||
name='use_role',
|
||||
field=awx.main.fields.ImplicitRoleField(related_name='+', parent_role=[b'admin_role'], to='main.Role', null=b'True'),
|
||||
),
|
||||
migrations.RunPython(update_dashed_host_variables),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user