Merge pull request #579 from ryanpetrello/fix-survey-encryption-migration-failure

fix a bug in the survey reencryption migration
This commit is contained in:
Ryan Petrello 2017-11-15 10:38:35 -05:00 committed by GitHub
commit 82be0a8af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ from __future__ import unicode_literals
from django.db import migrations
from awx.main.migrations import ActivityStreamDisabledMigration
from awx.main.migrations import _reencrypt as reencrypt
from awx.main.migrations import _migration_utils as migration_utils
class Migration(ActivityStreamDisabledMigration):
@ -13,5 +14,6 @@ class Migration(ActivityStreamDisabledMigration):
]
operations = [
migrations.RunPython(migration_utils.set_current_apps_for_migrations),
migrations.RunPython(reencrypt.encrypt_survey_passwords),
]