@Override
	public DBRecord insertRecord(String tagName) throws IOException {

		if (tagName == null) {
			throw new IllegalArgumentException(
				"Cannot insert a null name into the match tag table.");
		}

		if (tagName.trim().isEmpty()) {
			throw new IllegalArgumentException("Cannot create an empty string tag");
		}

		DBRecord record = TABLE_SCHEMA.createRecord(table.getKey());
		record.setString(TAG_NAME_COL.column(), tagName);

		table.putRecord(record);
		return record;
	}
Initial adapter for the database table that holds tags for version tracking matches.
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/api/db/VTMatchTagDBAdapterV0.java