Skip to content

Commit

Permalink
update database update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Oct 27, 2023
1 parent a676060 commit f8298fe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions resources/backups/database_dumper/update_database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@
-- CHANGE COLUMN `name` `name` VARCHAR(32) NOT NULL;
-- ALTER TABLE `HerediVar`.`classification_criterium_strength`
-- ADD UNIQUE INDEX `UNIQUE_strength_key` (`classification_criterium_id` ASC, `name` ASC);
ALTER TABLE `HerediVar`.`mutually_exclusive_criteria`
ADD UNIQUE INDEX `UNIQUE_mutually_exclusive` (`source` ASC, `target` ASC);
-- ALTER TABLE `HerediVar`.`mutually_exclusive_criteria`
-- ADD UNIQUE INDEX `UNIQUE_mutually_exclusive` (`source` ASC, `target` ASC);


ALTER TABLE `HerediVar`.`classification_criterium`
DROP INDEX `UNIQUE_scheme_id_name` ;
-- ALTER TABLE `HerediVar`.`classification_criterium`
-- DROP INDEX `UNIQUE_scheme_id_name` ;

ALTER TABLE `HerediVar`.`classification_criterium`
ADD UNIQUE INDEX `UNIQUE_classification_criterium` (`classification_scheme_id` ASC, `name` ASC);
-- ALTER TABLE `HerediVar`.`classification_criterium`
-- ADD UNIQUE INDEX `UNIQUE_classification_criterium` (`classification_scheme_id` ASC, `name` ASC);


ALTER TABLE `HerediVar`.`classification_criterium_strength`
Expand Down

0 comments on commit f8298fe

Please sign in to comment.