private void updateManagerAndAppVersion(OpenMode openMode) throws IOException {
		if (openMode == OpenMode.CREATE || openMode == OpenMode.UPGRADE) {
			DBStringMapAdapter dataMap = getDataMap(true);
			dataMap.put(DTM_DB_VERSION_KEY, Integer.toString(DB_VERSION));
			dataMap.put(DTM_GHIDRA_VERSION_KEY, Application.getApplicationVersion());
		}
	}
Check data map for overall manager version for compatibility.
@throws VersionException if database is a newer unsupported version
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeManagerDB.java