From a8918c07bb6a2a482220c8988e0213b48db003e7 Mon Sep 17 00:00:00 2001 From: MarvinDo Date: Wed, 21 Feb 2024 13:22:03 +0100 Subject: [PATCH] update update database --- resources/backups/database_dumper/update_database_5.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/backups/database_dumper/update_database_5.sql b/resources/backups/database_dumper/update_database_5.sql index f4c5573e..32ea2815 100644 --- a/resources/backups/database_dumper/update_database_5.sql +++ b/resources/backups/database_dumper/update_database_5.sql @@ -119,6 +119,10 @@ INSERT INTO `HerediVar_ahdoebm1`.assay_metadata_type (title, display_title, assa INSERT INTO `HerediVar_ahdoebm1`.assay_metadata_type (title, display_title, assay_type_id, value_type) VALUES ('score', 'Score', (SELECT id FROM assay_type WHERE title='functional'), 'float') +UPDATE `HerediVar_ahdoebm1`.`assay_metadata_type` SET `is_required` = '0' WHERE (`title` = 'comment'); +UPDATE `HerediVar_ahdoebm1`.`assay_metadata_type` SET `is_required` = '0' WHERE (`title` = 'score'); + + ALTER TABLE `HerediVar_ahdoebm1`.`assay` ADD COLUMN `assay_type_id` INT UNSIGNED NOT NULL AFTER `assay_type`;