swap import and migrate order

This commit is contained in:
Michael Gerber 2015-09-30 13:31:22 +02:00
parent 15a5c87cc5
commit acefd3cacd

View file

@ -83,12 +83,12 @@ public class KeycloakApplication extends Application {
classes.add(JsResource.class);
classes.add(WelcomeResource.class);
new ExportImportManager().checkExportImport(this.sessionFactory, context.getContextPath());
setupDefaultRealm(context.getContextPath());
importRealms(context);
migrateModel();
new ExportImportManager().checkExportImport(this.sessionFactory, context.getContextPath());
importRealms(context);
AdminRecovery.recover(sessionFactory);