Long remove(long viewId) {
		Long originalId = null;
		try {
			DBRecord rec = table.getRecord(viewId);
			if (rec != null) {
				originalId = rec.getLongValue(ORIGINAL_ID_COL);
				table.deleteRecord(viewId);

				if (viewToOriginalMap != null) {
					viewToOriginalMap.remove(viewId);
					originalToViewMap.remove(originalId);
				}
			}
		}
		catch (IOException e) {
			errorHandler.dbError(e);
		}
		return originalId;
	}
Construct database-backed bidirectional datatype ID map
@param dbHandle database handle for {@link CompositeViewerDataTypeManager}
@param errorHandler error handler
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/IDMapDB.java