code: private void createTablesAndPkAndIndexes() {
  
          for (Table t : metadata.getTables()) {
              comment(" == TABLES [ " + t.getName() + " ] =======================");
  
              createTable(t);
              createIndexes(t);
              if (t.hasH2IdentityPk()) {
                  line("ALTER TABLE ", t.getName(), " ALTER COLUMN ", t.getPrimaryKey(), " IDENTITY;");
              } else if (t.hasPk()) {
                  line("CREATE PRIMARY KEY ON ", t.getName(), " (", toCsvString(t.getPrimaryKeys()), ");");
              }
              line("");
          }
      }
docs: -- TABLES ---------------------------