Repository navigation
Increase column size of UserAttribute table #13494
|
Dear all, however, the size of the claim exceeded the column size of "value" (varchar 255) in the user_attribute table. is it something i can perform by increasing such column size from 255 char to 4000 char? is there any impact to the keycloak? Thanks |
Replies: 2 comments
|
You can pretty safely just increase the column size. You should put a limit in there, as without limit, there might be problems with indexes. There are even ways to add custom migrations to Keycloak if you need to replicate that setup, but it's a bit hacky. |
|
I can not understand why Keycloak team does not increase User Attribute column at least at 4000 char. We also have User Attribute values that 255 chars is too little. |
You can pretty safely just increase the column size. You should put a limit in there, as without limit, there might be problems with indexes. There are even ways to add custom migrations to Keycloak if you need to replicate that setup, but it's a bit hacky.