# taxonName.sql was originally generated by the autoSql program, which also 
# generated taxonName.c and taxonName.h.  This creates the database representation of
# an object which can be loaded and saved from RAM in a fairly 
# automatic way.

#ncbi taxonomy species names and id including synonmyms
CREATE TABLE taxonName (
    name varchar(255) not null,	# ncbi name
    taxon int unsigned not null,	# ncbi id of node associated with this name
    class varchar(255) not null,	# type of name: synonym, common name, scientific name, misspelling
              #Indices
    PRIMARY KEY(name),
    INDEX(taxon)
);
