code: private boolean insertHistoryPrincipals(CmsSetupDb dbCon) throws SQLException {
  
          System.out.println(new Exception().getStackTrace()[0].toString());
  
          createHistPrincipalsTable(dbCon);
  
          boolean updateUserDateDeleted = false;
          if (isKeepHistory() && !hasData(dbCon)) {
              dbCon.updateSqlStatement(readQuery(QUERY_HISTORY_PRINCIPALS_RESOURCES), null, null);
              dbCon.updateSqlStatement(readQuery(QUERY_HISTORY_PRINCIPALS_PROJECTS_GROUPS), null, null);
              dbCon.updateSqlStatement(readQuery(QUERY_HISTORY_PRINCIPALS_PROJECTS_MANAGERGROUPS), null, null);
              dbCon.updateSqlStatement(readQuery(QUERY_HISTORY_PRINCIPALS_PROJECTS_PUBLISHED), null, null);
              dbCon.updateSqlStatement(readQuery(QUERY_HISTORY_PRINCIPALS_PROJECTS_USERS), null, null);
              updateUserDateDeleted = true; // update the colum USER_DATETELETED
          }
  
          return updateUserDateDeleted;
      }
docs: Inserts deleted users/groups in the history principals table.<p>
  
  @param dbCon the db connection interface
  @return true if the USER_DATEDELETED needs updating, false if not
  
  @throws SQLException if something goes wrong