Increase column size for keys that refer to entities that can be stor…#11375
Increase column size for keys that refer to entities that can be stor…#11375hmlnarik merged 1 commit intokeycloak:mainfrom
Conversation
There was a problem hiding this comment.
This should be changed as well. Perhaps worth checking all VARCHAR(36) fields
There was a problem hiding this comment.
I thought about that but in my opinion this one should be left as is. Reason being that the parentId is referring to a parent group, and since all groups are managed by the same provider (in this case JPA), we shouldn't have a case where a parent group is stored in a different storage, and therefore it should be able to rely on the particular format adopted by that storage. In this case, it can rely on the parent being a group whose id is a UUID, no?
There was a problem hiding this comment.
This assumption is not correct - all groups are not generally managed by the same provider. Custom group providers (e.g. LDAP) are allowed, and it is possible that a group from one source would be parent to another.
There was a problem hiding this comment.
Resized the parent column as well.
b8881b7 to
2f0f307
Compare
…ed in different storages (foreign keys) Closes keycloak#11329
2f0f307 to
1d63039
Compare
|
Introduced the Example table ( Now same table on Also adjusted the |
…ed in different storages (foreign keys)
Closes #11329