[keycloak-dev] generic migration?

Stian Thorgersen stian at redhat.com
Wed Apr 22 05:14:10 EDT 2015


Would be nice to add this

----- Original Message -----
> From: "Marek Posolda" <mposolda at redhat.com>
> To: "Bill Burke" <bburke at redhat.com>, keycloak-dev at lists.jboss.org
> Sent: Wednesday, 22 April, 2015 9:08:47 AM
> Subject: Re: [keycloak-dev] generic migration?
> 
> We are doing everything manually right now :-\
> 
> I don't think we can use ORM as when you migrating the DB, you have the
> codebase with the newest version, but data in database are still in the
> old version. So there are fields in the table in DB, which are not on
> the object in the codebase and viceversa.
> 
> I've added MigrationProvider, which is useful for some common migration
> tasks useful for both JPA, Mongo and JSON representations. But not sure
> if it is helpful for your usecase...
> 
> Marek
> 
> On 21.4.2015 23:41, Bill Burke wrote:
> > Do we have a way to plug in generic version migration?  I need to add a
> > ClientModel and a role for that ClientModel.  Right now it looks like I
> > have to do it manually for JDBC and Mongo.
> 
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 


More information about the keycloak-dev mailing list