diff --git a/src/store.ts b/src/store.ts
index 0b69ee82c92a1e60e54c04154dea9dd667b6c9c3..7397b3b6c765066f90a2518c5fc368ccc8af53ea 100644
--- a/src/store.ts
+++ b/src/store.ts
@@ -98,9 +98,6 @@ export class DiscordStore {
             const schemaClass = require(`./db/schema/v${version}.js`).Schema;
             let schema: IDbSchema;
             if (version === SCHEMA_ROOM_STORE_REQUIRED) { // 8 requires access to the roomstore.
-                if (!roomStore) {
-                    throw Error("Schema 8 requires the room store, but it was not provided");
-                }
                 schema = (new schemaClass(roomStore) as IDbSchema);
             } else {
                 schema = (new schemaClass() as IDbSchema);
diff --git a/test/test_matrixroomhandler.ts b/test/test_matrixroomhandler.ts
index 1aa82ad4d68709af01549310db8aad1134f91c6f..d653c7c1ecff472d527bdeb1e6430aa5741729f1 100644
--- a/test/test_matrixroomhandler.ts
+++ b/test/test_matrixroomhandler.ts
@@ -198,7 +198,7 @@ function createRH(opts: any = {}) {
         removeEntriesByMatrixRoomId: () => {
 
         },
-    }
+    };
     const handler = new RoomHandler(bot as any, config, provisioner as any, bridge as any, store);
     return handler;
 }