mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
Merge pull request #579 from ryanpetrello/fix-survey-encryption-migration-failure
fix a bug in the survey reencryption migration
This commit is contained in:
@@ -4,6 +4,7 @@ from __future__ import unicode_literals
|
|||||||
from django.db import migrations
|
from django.db import migrations
|
||||||
from awx.main.migrations import ActivityStreamDisabledMigration
|
from awx.main.migrations import ActivityStreamDisabledMigration
|
||||||
from awx.main.migrations import _reencrypt as reencrypt
|
from awx.main.migrations import _reencrypt as reencrypt
|
||||||
|
from awx.main.migrations import _migration_utils as migration_utils
|
||||||
|
|
||||||
|
|
||||||
class Migration(ActivityStreamDisabledMigration):
|
class Migration(ActivityStreamDisabledMigration):
|
||||||
@@ -13,5 +14,6 @@ class Migration(ActivityStreamDisabledMigration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
|
||||||
migrations.RunPython(reencrypt.encrypt_survey_passwords),
|
migrations.RunPython(reencrypt.encrypt_survey_passwords),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user