code: public static void createTables(Connection connection) throws Exception {
          StringBuilder sB = new StringBuilder();
          sB.append("CREATE TABLE ");
          sB.append(TABLE_METADATA);
          sB.append(" (");
          sB.append(MetadataTableFields.COLUMN_KEY.getFieldName()).append(" TEXT NOT NULL, ");
          sB.append(MetadataTableFields.COLUMN_VALUE.getFieldName()).append(" TEXT NOT NULL ");
          sB.append(");");
          String CREATE_TABLE_PROJECT = sB.toString();
  
          try (Statement statement = connection.createStatement()) {
              statement.setQueryTimeout(30); // set timeout to 30 sec.
  
              statement.executeUpdate(CREATE_TABLE_PROJECT);
          } catch (Exception e) {
              throw new IOException(e.getLocalizedMessage());
          }
      }
docs: Create the notes tables.
  
  @throws java.io.IOException if something goes wrong.