[keycloak-dev] Incorrect table mapping

Marek Posolda mposolda at redhat.com
Mon Mar 16 15:42:03 EDT 2015


yeah, I believe that just renaming columns of table REALM_APPLICATION 
with liquibase script would be enough.

Marek

On 16.3.2015 20:36, Leonardo Loch Zanivan wrote:
> I think it's quite trivial create a migration script with liquibase.
>
> On Mon, Mar 16, 2015 at 4:29 PM Bill Burke <bburke at redhat.com 
> <mailto:bburke at redhat.com>> wrote:
>
>     This is a major screwup...How do we handle this in a migration script?
>     Looks like an export/import would have to be done.
>
>     On 3/16/2015 3:23 PM, Marek Posolda wrote:
>     > Hi,
>     >
>     > could you please create a JIRA for this?
>     >
>     > Thanks,
>     > Marek
>     >
>     > On 16.3.2015 20:00, Leonardo Loch Zanivan wrote:
>     >> Hi,
>     >>
>     >> I've configured KeyCloak datasource to a PostgreSQL database.
>     >> I found that "REALM_APPLICATION" table has a strange mapping.
>     >>
>     >> REALM_ID is the APPLICATION (CLIENT)
>     >> APPLICATION_ID is the REALM
>     >>
>     >> I think it was a mistake by incorrect JPA mapping.
>     >>
>     >> Regards,
>     >> Leonardo Zanivan
>     >>
>     >>
>     >> _______________________________________________
>     >> keycloak-dev mailing list
>     >> keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>     >> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>     >
>     >
>     >
>     > _______________________________________________
>     > keycloak-dev mailing list
>     > keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/keycloak-dev
>     >
>
>     --
>     Bill Burke
>     JBoss, a division of Red Hat
>     http://bill.burkecentral.com
>     _______________________________________________
>     keycloak-dev mailing list
>     keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
>
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20150316/755124f3/attachment.html 


More information about the keycloak-dev mailing list