Commit c7f77098 authored by Ian Longden's avatar Ian Longden
Browse files

seq region synonym table added

parent bc29554c
# patch_60_61_b.sql
#
# Title:
# Create 'seq_region_synonym' table.
#
# Description: Create 'seq_region_synonym' table which will hold the alternative seq region
# names.
# Creat the tab
CREATE TABLE seq_region_synonym (
seq_region_synonym_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
seq_region_id INT(10) UNSIGNED NOT NULL,
synonym VARCHAR(40) NOT NULL,
external_db_id SMALLINT UNSIGNED,
PRIMARY KEY (seq_region_synonym_id),
UNIQUE KEY syn_idx (synonym)
) COLLATE=latin1_swedish_ci ENGINE=MyISAM;
# Insert patch identifier.
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_60_61_b.sql|create_seq_region_synonym_table');
......@@ -1265,6 +1265,26 @@ CREATE TABLE seq_region (
) COLLATE=latin1_swedish_ci ENGINE=MyISAM;
################################################################################
#
# Table structure for table 'seq_region_synonym'
#
CREATE TABLE seq_region_synonym (
seq_region_synonym_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
seq_region_id INT(10) UNSIGNED NOT NULL,
synonym VARCHAR(40) NOT NULL,
external_db_id SMALLINT UNSIGNED,
PRIMARY KEY (seq_region_synonym_id),
UNIQUE KEY syn_idx (synonym)
) COLLATE=latin1_swedish_ci ENGINE=MyISAM;
################################################################################
#
# Table structure for table 'assembly_exception'
......
Markdown is supported
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