Skip to content
Snippets Groups Projects
Commit a7879552 authored by Graham McVicker's avatar Graham McVicker
Browse files

modified unique constraint on stable_id_event, this was added previously on...

modified unique constraint on stable_id_event, this was added previously on branch but lost during seqstore merge
parent ac8e396b
No related branches found
No related tags found
No related merge requests found
......@@ -960,8 +960,10 @@ CREATE TABLE stable_id_event (
mapping_session_id int(11) NOT NULL default '0',
type ENUM('gene', 'transcript', 'translation') NOT NULL,
UNIQUE KEY tpl_idx (old_stable_id,new_stable_id,mapping_session_id),
KEY new_idx (new_stable_id)
UNIQUE KEY uni_idx (mapping_session_id, old_stable_id, old_version, new_stable_id, new_version, type),
KEY new_idx (new_stable_id),
KEY old_idx (old_stable_id)
) TYPE=MyISAM;
......
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