From fd847862a744dd7fb1a91fa1b24a7ef17c731158 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Mon, 9 Feb 2026 16:14:58 -0500 Subject: [PATCH] Fix wrong field rename * Multiple credentialtype's have the same kind and kind values look like: cloud, network, machine, etc. * namespace is the field that we want to rename --- awx/main/migrations/0204_squashed_deletions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/migrations/0204_squashed_deletions.py b/awx/main/migrations/0204_squashed_deletions.py index a6c3c90abe..c62952f091 100644 --- a/awx/main/migrations/0204_squashed_deletions.py +++ b/awx/main/migrations/0204_squashed_deletions.py @@ -12,7 +12,7 @@ def update_github_app_kind(apps, schema_editor): """ CredentialType = apps.get_model('main', 'CredentialType') db_alias = schema_editor.connection.alias - CredentialType.objects.using(db_alias).filter(kind='github_app').update(kind='github_app_lookup') + CredentialType.objects.using(db_alias).filter(namespace='github_app').update(namespace='github_app_lookup') # --- END of function merged from 0203_rename_github_app_kind.py ---