@@ -620,11 +620,12 @@ public static void createTablesIfNotExists(Start start, Connection con) throws S
620620
621621 if (!doesTableExists (start , con , Config .getConfig (start ).getBulkImportUsersTable ())) {
622622 getInstance (start ).addState (CREATING_NEW_TABLE , null );
623- update (start , BulkImportQueries .getQueryToCreateBulkImportUsersTable (start ), NO_OP_SETTER );
623+ update (con , BulkImportQueries .getQueryToCreateBulkImportUsersTable (start ), NO_OP_SETTER );
624+
624625 // index:
625- update (start , BulkImportQueries .getQueryToCreateStatusUpdatedAtIndex (start ), NO_OP_SETTER );
626- update (start , BulkImportQueries .getQueryToCreatePaginationIndex1 (start ), NO_OP_SETTER );
627- update (start , BulkImportQueries .getQueryToCreatePaginationIndex2 (start ), NO_OP_SETTER );
626+ update (con , BulkImportQueries .getQueryToCreateStatusUpdatedAtIndex (start ), NO_OP_SETTER );
627+ update (con , BulkImportQueries .getQueryToCreatePaginationIndex1 (start ), NO_OP_SETTER );
628+ update (con , BulkImportQueries .getQueryToCreatePaginationIndex2 (start ), NO_OP_SETTER );
628629 }
629630
630631 if (!doesTableExists (start , con , Config .getConfig (start ).getOAuthClientsTable ())) {
@@ -688,12 +689,12 @@ public static void createTablesIfNotExists(Start start, Connection con) throws S
688689
689690 if (!doesTableExists (start , con , Config .getConfig (start ).getWebAuthNAccountRecoveryTokenTable ())){
690691 getInstance (start ).addState (CREATING_NEW_TABLE , null );
691- update (start , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenTable (start ), NO_OP_SETTER );
692+ update (con , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenTable (start ), NO_OP_SETTER );
692693
693694 //index
694- update (start , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenTokenIndex (start ), NO_OP_SETTER );
695- update (start , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenEmailIndex (start ), NO_OP_SETTER );
696- update (start , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenExpiresAtIndex (start ), NO_OP_SETTER );
695+ update (con , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenTokenIndex (start ), NO_OP_SETTER );
696+ update (con , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenEmailIndex (start ), NO_OP_SETTER );
697+ update (con , WebAuthNQueries .getQueryToCreateWebAuthNAccountRecoveryTokenExpiresAtIndex (start ), NO_OP_SETTER );
697698 }
698699
699700 // SAML tables
0 commit comments