[keycloak-dev] generic migration?
mposolda at redhat.com
Wed Apr 22 03:08:47 EDT 2015
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...
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.
More information about the keycloak-dev