mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 22:49:32 -02:30
19 lines
606 B
Python
19 lines
606 B
Python
# Generated by Django 3.2.16 on 2023-03-16 15:16
|
|
from django.db import migrations
|
|
|
|
from awx.main.migrations._credentialtypes import migrate_credential_type
|
|
from awx.main.models import CredentialType
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
def update_cyberark_plugin_names(apps, schema_editor):
|
|
CredentialType.setup_tower_managed_defaults(apps)
|
|
migrate_credential_type(apps, 'aim')
|
|
migrate_credential_type(apps, 'conjur')
|
|
|
|
dependencies = [
|
|
('main', '0178_instance_group_admin_migration'),
|
|
]
|
|
|
|
operations = [migrations.RunPython(update_cyberark_plugin_names)]
|