docs: private void checkLocalRevisionSchema() throws Exception {
          InputStream localRevisionDDLStream = null;
          InputStream in = org.apache.jackrabbit.core.journal.DatabaseJournal.class.getResourceAsStream(databaseType + ".ddl");
          try {
              BufferedReader reader = new BufferedReader(new InputStreamReader(in));
              String sql = reader.readLine();
              while (sql != null) {
                  // Skip comments and empty lines, and select only the statement to create the LOCAL_REVISIONS
                  // table.
                  if (!sql.startsWith("#") && sql.length() > 0 && sql.indexOf(LOCAL_REVISIONS_TABLE) != -1) {
                      localRevisionDDLStream = new ByteArrayInputStream(sql.getBytes());
                      break;
                  }
                  // read next sql stmt
                  sql = reader.readLine();
              }
          } finally {
              IOUtils.closeQuietly(in);
          }
          // Run the schema check for the single table
          new CheckSchemaOperation(conHelper, localRevisionDDLStream, schemaObjectPrefix
                  + LOCAL_REVISIONS_TABLE).addVariableReplacement(
              CheckSchemaOperation.SCHEMA_OBJECT_PREFIX_VARIABLE, schemaObjectPrefix).run();
      }