locuses

namespace: SMRUCC.genomics.Data.Regtransbase.MySQL

DROP TABLE IF EXISTS locuses;
/!40101 SET @saved_cs_client = @@character_set_client /;
/!40101 SET character_set_client = utf8 /;
CREATE TABLE locuses (
locus_guid int(11) NOT NULL DEFAULT ‘0’,
pkg_guid int(11) NOT NULL DEFAULT ‘0’,
art_guid int(11) NOT NULL DEFAULT ‘0’,
name varchar(50) DEFAULT NULL,
fl_real_name int(1) DEFAULT NULL,
genome_guid int(11) DEFAULT NULL,
location varchar(50) DEFAULT NULL,
descript blob,
last_update timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (locus_guid),
KEY FK_locuses-pkg_guid (pkg_guid),
KEY FK_locuses-art_guid (art_guid),
KEY FK_locuses-genome_guid (genome_guid),
CONSTRAINT FK_locuses-art_guid FOREIGN KEY (art_guid) REFERENCES articles (art_guid),
CONSTRAINT FK_locuses-genome_guid FOREIGN KEY (genome_guid) REFERENCES dict_genomes (genome_guid),
CONSTRAINT FK_locuses-pkg_guid FOREIGN KEY (pkg_guid) REFERENCES packages (pkg_guid)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/!40101 SET character_set_client = @saved_cs_client /;