docs: private void updateTable(Connection connection) throws DatabaseException {
          try {
  			if (!DbUtils.hasColumn(connection, TABLE_NAME, TAG)) {
  			    DbUtils.execute(connection, "ALTER TABLE "+TABLE_NAME+" ADD COLUMN "+TAG+" VARCHAR(32768) DEFAULT ''");
  			}
  
  			// Add the NOTE column to the db if necessary
  			if (!DbUtils.hasColumn(connection, TABLE_NAME, NOTE)) {
  			    DbUtils.execute(connection, "ALTER TABLE "+TABLE_NAME+" ADD COLUMN "+NOTE+" VARCHAR(1048576) DEFAULT ''");
  			}
  			
  			if (DbUtils.getColumnType(connection, TABLE_NAME, REQBODY) != Types.SQL_VARBINARY) {
  			    bodiesAsBytes = false;
  			} else {
  				// Databases created with ZAP<1.4.0.1 used VARCHAR for the REQBODY/RESBODY
  				// HSQLDB 1.8.x converted from VARCHAR to bytes without problems
  				// (through the method ResultSet.getBytes)
  				// but the new version doesn't, it throws the following exception:
  				// incompatible data type in conversion: from SQL type VARCHAR
  			}
  
  			if (!DbUtils.hasColumn(connection, TABLE_NAME, RESPONSE_FROM_TARGET_HOST)) {
  			    DbUtils.execute(connection, "ALTER TABLE " + TABLE_NAME + " ADD COLUMN "
  			            + RESPONSE_FROM_TARGET_HOST + " BOOLEAN DEFAULT FALSE");
  			    DbUtils.executeUpdate(connection, "UPDATE " + TABLE_NAME + " SET " + RESPONSE_FROM_TARGET_HOST
  			            + " = TRUE ");
  			}
  			
  			int requestbodysizeindb = DbUtils.getColumnSize(connection, TABLE_NAME, REQBODY);
  			int responsebodysizeindb = DbUtils.getColumnSize(connection, TABLE_NAME, RESBODY);
  			try {	        
  			    if (requestbodysizeindb != this.configuredrequestbodysize && this.configuredrequestbodysize > 0) {
  			    	if (log.isDebugEnabled()) log.debug("Extending table "+ TABLE_NAME + " request body length from "+ requestbodysizeindb + " to " + this.configuredrequestbodysize);
  			    	DbUtils.execute(connection, "ALTER TABLE " + TABLE_NAME + " ALTER COLUMN "
  			            + REQBODY + " VARBINARY("+this.configuredrequestbodysize+")");
  			    	if (log.isDebugEnabled()) log.debug("Completed extending table "+ TABLE_NAME + " request body length from "+ requestbodysizeindb + " to " + this.configuredrequestbodysize);
  			    }
  			    
  			    if (responsebodysizeindb != this.configuredresponsebodysize && this.configuredresponsebodysize > 0) {
  			    	if (log.isDebugEnabled()) log.debug("Extending table "+ TABLE_NAME + " response body length from "+ responsebodysizeindb + " to " + this.configuredresponsebodysize);
  			    	DbUtils.execute(connection, "ALTER TABLE " + TABLE_NAME + " ALTER COLUMN "
  			            + RESBODY + " VARBINARY("+this.configuredresponsebodysize+")");
  			    	if (log.isDebugEnabled()) log.debug("Completed extending table "+ TABLE_NAME + " response body length from "+ responsebodysizeindb + " to " + this.configuredresponsebodysize);
  			    }
  			}
  			catch (SQLException e) {
  				log.error("An error occurred while modifying a column length on "+ TABLE_NAME);
  				log.error("The 'Maximum Request Body Size' value in the Database Options needs to be set to at least " + requestbodysizeindb + " to avoid this error" );
  				log.error("The 'Maximum Response Body Size' value in the Database Options needs to be set to at least " + responsebodysizeindb + " to avoid this error" );
  				log.error("The SQL Exception was:", e);
  				throw e;
  			}
  		} catch (SQLException e) {
  			throw new DatabaseException(e);
  		}
      }