KEYCLOAK-10391 Fix lower-case column names in IdentityProviderMapperEntity, while they are upper-case in Liquibase scripts

This commit is contained in:
stianst 2020-02-06 09:41:04 +01:00 committed by Hynek Mlnařík
parent fc514aa256
commit 32fccfa99e
2 changed files with 3 additions and 3 deletions

View file

@ -53,8 +53,8 @@ public class IdentityProviderMapperEntity {
protected String identityProviderMapper;
@ElementCollection
@MapKeyColumn(name="name")
@Column(name="value")
@MapKeyColumn(name="NAME")
@Column(name="VALUE")
@CollectionTable(name="IDP_MAPPER_CONFIG", joinColumns={ @JoinColumn(name="IDP_MAPPER_ID") })
private Map<String, String> config;

View file

@ -54,7 +54,7 @@ public class UserFederationProviderEntity {
private int priority;
@ElementCollection
@MapKeyColumn(name="name")
@MapKeyColumn(name="NAME")
@Column(name="VALUE")
@CollectionTable(name="USER_FEDERATION_CONFIG", joinColumns={ @JoinColumn(name="USER_FEDERATION_PROVIDER_ID") })
private Map<String, String> config;