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

need to remove the empty data before trying to add a unique key

parent a35494b1
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,9 @@
ALTER TABLE mapping_set DROP COLUMN schema_build;
ALTER TABLE mapping_set ADD COLUMN (internal_schema_build VARCHAR(20) NOT NULL);
ALTER TABLE mapping_set ADD COLUMN (external_schema_build VARCHAR(20) NOT NULL);
TRUNCATE TABLE mapping_set;
ALTER TABLE mapping_set ADD UNIQUE KEY mapping_idx (internal_schema_build, external_schema_build);
TRUNCATE TABLE seq_region_mapping;
TRUNCATE TABLE mapping_set;
# Patch identifier
......
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