Skip to content
Snippets Groups Projects
Commit 97fdf302 authored by Will Spooner's avatar Will Spooner
Browse files

Added a unique index (species_id,taxonomy_id) to the species table. Duplicates...

Added a unique index (species_id,taxonomy_id) to the species table. Duplicates cause duplicated xref errors later on
parent 6672cb71
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,7 @@ CREATE TABLE species (
KEY species_idx (species_id),
KEY taxonomy_idx(taxonomy_id),
UNIQUE KEY species_taxonomy_idx(species_id,taxonomy_id),
KEY name_idx(name)
);
......
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