From 6560ab0fab2366e7815c7fff5a7b916aaa83c8fd Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Tue, 29 Jan 2019 15:04:35 -0500 Subject: [PATCH] Migrated the inputs schema on existing CredentialTypes to convert the custom become_method into a plain string. related #2630 Signed-off-by: Jeff Bradberry --- .../0057_v350_remove_become_method_type.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 awx/main/migrations/0057_v350_remove_become_method_type.py diff --git a/awx/main/migrations/0057_v350_remove_become_method_type.py b/awx/main/migrations/0057_v350_remove_become_method_type.py new file mode 100644 index 0000000000..cd5f76cdec --- /dev/null +++ b/awx/main/migrations/0057_v350_remove_become_method_type.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.16 on 2019-01-29 19:56 +from __future__ import unicode_literals + +from django.db import migrations + +# AWX +from awx.main.migrations import _credentialtypes as credentialtypes + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0056_v350_custom_venv_history'), + ] + + operations = [ + migrations.RunPython(credentialtypes.remove_become_methods), + ]