private Boolean checkTables() throws Exception {
        if (!this.db.checkTable("chunky_objects")) {
            if (!db.createTable(QueryGen.createObjectTable())) return false;
            Logging.info("Created chunky_objects table.");
        }

        if (!this.db.checkTable("chunky_ownership")) {
            if (!db.createTable(QueryGen.createOwnerShipTable())) return false;
            Logging.info("Created chunky_ownership table.");
        }

        if (!this.db.checkTable("chunky_permissions")) {
            if (!db.createTable(QueryGen.createPermissionsTable())) return false;
            Logging.info("Created chunky_permissions table.");
        }

        if (!this.db.checkTable("chunky_groups")) {
            if (!db.createTable(QueryGen.createGroupsTable())) return false;
            Logging.info("Created chunky_groups table.");
        }
        return true;
    }