Skip to content
Snippets Groups Projects
Commit 37065122 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

add missing primary key

parent 3245c16b
No related branches found
No related tags found
No related merge requests found
......@@ -446,6 +446,7 @@ CREATE TABLE object_xref (
unused_priority INT UNSIGNED,
master_xref_id INT UNSIGNED DEFAULT NULL,
PRIMARY KEY (object_xref_id),
UNIQUE (ensembl_object_type, ensembl_id, xref_id, ox_status, master_xref_id),
KEY oxref_idx (object_xref_id, xref_id, ensembl_object_type, ensembl_id),
KEY xref_idx (xref_id, ensembl_object_type)
......
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