@Override
	DBRecord createTagRecord(String tag, String comment) throws IOException {

		// See if there is already a record for this tag name. If so,
		// just return that one.
		DBRecord rec = getRecord(tag);

		if (rec == null) {
			rec = V0_SCHEMA.createRecord(getTable().getKey());
			rec.setString(V0_TAG_NAME_COL, tag);
			rec.setString(V0_COMMENT_COL, comment);
			updateRecord(rec);
		}

		return rec;
	}
Initial version of the {@link FunctionTagAdapter}.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionTagAdapterV0.java