Skip to content
Snippets Groups Projects
Commit e7fec65c authored by Alistair Rust's avatar Alistair Rust
Browse files

relevant_xref_id -> display_xref_id

Dropped the priority column from external_db table.
parent 551995be
No related branches found
No related tags found
No related merge requests found
......@@ -319,10 +319,10 @@ CREATE TABLE gene (
type VARCHAR(40) NOT NULL,
analysis_id int,
transcript_count int NOT NULL,
relevant_xref_id int unsigned NOT NULL,
display_xref_id int unsigned NOT NULL,
PRIMARY KEY (gene_id),
KEY xref_id_index ( relevant_xref_id )
KEY xref_id_index ( display_xref_id )
);
......@@ -360,12 +360,12 @@ CREATE TABLE transcript (
gene_id INT UNSIGNED NOT NULL, # foreign key gene:gene_id
translation_id INT UNSIGNED NOT NULL, # foreign key translation:translation_id
exon_count int NOT NULL,
relevant_xref_id int unsigned NOT NULL,
display_xref_id int unsigned NOT NULL,
PRIMARY KEY (transcript_id),
KEY gene_index (gene_id),
KEY translation_index ( translation_id ),
KEY xref_id_index ( relevant_xref_id )
KEY xref_id_index ( display_xref_id )
);
......@@ -566,7 +566,6 @@ CREATE TABLE external_db(
db_name ENUM ('gene_name','Celera_Pep','Celera_Trans','Celera_Gene','HumanGenscans','protein_id','SCOP','HUGO','GO','SPTREMBL','EMBL','MarkerSymbol','SWISSPROT','PDB','MIM','RefSeq','LocusLink','Interpro','Superfamily','ANOSUB') not null,
release VARCHAR(40) DEFAULT '' NOT NULL,
status ENUM ('KNOWN','XREF','PRED') not null,
priority smallint unsigned not null,
PRIMARY KEY( external_db_id )
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment