From acefd3cacdb773c3ae7f6e971a24e9d7064ab499 Mon Sep 17 00:00:00 2001 From: Michael Gerber Date: Wed, 30 Sep 2015 13:31:22 +0200 Subject: [PATCH] swap import and migrate order --- .../org/keycloak/services/resources/KeycloakApplication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/src/main/java/org/keycloak/services/resources/KeycloakApplication.java b/services/src/main/java/org/keycloak/services/resources/KeycloakApplication.java index ab55ef3e8d..28818d8d0b 100755 --- a/services/src/main/java/org/keycloak/services/resources/KeycloakApplication.java +++ b/services/src/main/java/org/keycloak/services/resources/KeycloakApplication.java @@ -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);