@Override
	DBRecord createCategory(String name, long parentID) throws IOException {
		long key = table.getKey();
		if (key == 0) {
			key = 1;
		}
		DBRecord rec = table.getSchema().createRecord(key);
		rec.setString(V0_CATEGORY_NAME_COL, name);
		rec.setLongValue(V0_CATEGORY_PARENT_COL, parentID);
		table.putRecord(rec);
		return rec;

	}
Gets a version 0 adapter for the Category database table.
@param handle handle to the database containing the table.
@param tablePrefix prefix to be used with default table name
@param create true if this constructor should create the table.
@throws VersionException if the table's version does not match the expected version
for this adapter.
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CategoryDBAdapterV0.java