[keycloak-user] Does keycloak support multi-hop database schema upgrades

Tom Billiet tom.billiet at airties.com
Mon May 27 04:37:11 EDT 2019


Correct.
Have a look at modules/system/layers/keycloak/org/keycloak/keycloak-model-jpa/main/keycloak-model-jpa-4.8.2.Final.jar in your keycloak installation. Unzip it and you can find "META-INF/jpa-changelog-*" files with the database migrations.

Best regards,
Tom

-----Original Message-----
From: Shiva Prasad Thagadur Prakash <shiva.prasad.thagadur.prakash at ericsson.com> 
Sent: Friday, 24 May 2019 12:54
To: Tom Billiet <tom.billiet at airties.com>; keycloak-user at lists.jboss.org
Subject: Re: [keycloak-user] Does keycloak support multi-hop database schema upgrades

Hi Tom,
Thank you very much for the reply. A small follow-up question.

"Every databse schema is packaged" - do you mean the required scripts are pacakged in the released version of keyclok and when a user starts keycloak it will automatically do the needful? Eagerly waiting to hear from you.

Thanks,
Shiva
On to, 2019-05-23 at 07:22 +0000, Tom Billiet wrote:
> I'm not a developer of keycloak itself, but I'd say yes.
> It uses liquibase internally, and every database schema change is 
> packaged. It will figure out whatever (liquibase) changes are not 
> applied yet and apply them one by one.
> 
> Best regards,
> Tom
> 
> -----Original Message-----
> From: keycloak-user-bounces at lists.jboss.org <keycloak-user-bounces at li 
> sts.jboss.org> On Behalf Of Shiva Prasad Thagadur Prakash
> Sent: Wednesday, 22 May 2019 16:11
> To: keycloak-user at lists.jboss.org
> Subject: Re: [keycloak-user] Does keycloak support multi-hop database 
> schema upgrades
> 
> Hi Guys,
> 
> Does keycloak support migrating database schema from any keycloak 
> version to any keycloak version with no requirement to incrementally 
> go through each intermediate version. Eagerly waiting to hear from 
> you.
> 
> Thanks,
> Shiva
> On ti, 2019-05-21 at 13:38 +0000, Shiva Prasad Thagadur Prakash
> wrote:
> > 
> > Hi Guys,
> > Eagerly waiting for your responses!
> > 
> > Thanks,
> > Shiva
> > On ti, 2019-05-21 at 09:20 +0300, Shiva Prasad Thagadur Prakash
> > wrote:
> > > 
> > > 
> > > Hi Guys,
> > > 
> > > Does keycloak/Liquibase support multi-hop schema migration?
> > > 
> > > Thanks & regards,
> > > Shiva
> > > _______________________________________________
> > > keycloak-user mailing list
> > > keycloak-user at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
> 
> 
> This message has been scanned for malware by Websense. https://protec
> t2.fireeye.com/url?k=6bee191c-373a12a2-6bee5987-86742d02e7e2-
> 175350837bf3359f&q=1&u=http%3A%2F%2Fwww.websense.com%2F



More information about the keycloak-user mailing list