We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8ddd3 commit cd1fb34Copy full SHA for cd1fb34
ansible_base/rbac/models/__init__.py
@@ -41,4 +41,7 @@ def get_evaluation_model(cls):
41
if pk_db_type in ('bigint', 'integer', 'integer unsigned'):
42
return RoleEvaluation
43
44
+ if connection.vendor == 'sqlite' and pk_db_type == 'uuid':
45
+ return RoleEvaluationUUID
46
+
47
raise RuntimeError(f'Model {cls._meta.model_name} primary key type of {type(cls._meta.pk)} (db type {pk_db_type}) is not supported')
0 commit comments