Skip to content

Commit

Permalink
update database update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Nov 3, 2023
1 parent 9db71a5 commit d3ed644
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions resources/backups/database_dumper/update_database_2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,20 @@ UPDATE `HerediVar_ahdoebm1`.`annotation_type` SET `group_name` = 'Protein Domain
UPDATE `HerediVar_ahdoebm1`.`annotation_type` SET `group_name` = 'Protein Domain' WHERE (`id` = '37');
UPDATE `HerediVar_ahdoebm1`.`annotation_type` SET `group_name` = 'None' WHERE (`id` = '9');
UPDATE `HerediVar_ahdoebm1`.`annotation_type` SET `group_name` = 'None' WHERE (`id` = '10');




ALTER TABLE `HerediVar_ahdoebm1`.`variant_heredicare_annotation`
ADD INDEX `FK_variant_heredicare_annotation_variant_idx` (`variant_id` ASC);
;
ALTER TABLE `HerediVar_ahdoebm1`.`variant_heredicare_annotation`
ADD CONSTRAINT `FK_variant_heredicare_annotation_variant`
FOREIGN KEY (`variant_id`)
REFERENCES `HerediVar_ahdoebm1`.`variant` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION;


ALTER TABLE `HerediVar_ahdoebm1`.`annotation_queue`
CHANGE COLUMN `error_message` `error_message` TEXT NULL DEFAULT '' ;

0 comments on commit d3ed644

Please sign in to comment.