From 0066f5db8cbf89630a9cb0a34da0a12d67d54b53 Mon Sep 17 00:00:00 2001 From: MarvinDo Date: Mon, 17 Jun 2024 08:40:13 +0200 Subject: [PATCH] update update database --- resources/update_database/update_database_10.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/update_database/update_database_10.sql b/resources/update_database/update_database_10.sql index 68b3b92c..46cb480c 100644 --- a/resources/update_database/update_database_10.sql +++ b/resources/update_database/update_database_10.sql @@ -1,9 +1,9 @@ -ALTER TABLE `HerediVar_ahdoebm1`.`classification_scheme_alias` +ALTER TABLE `HerediVar`.`classification_scheme_alias` ADD COLUMN `version` VARCHAR(45) NOT NULL AFTER `alias`; -ALTER TABLE `HerediVar_ahdoebm1`.`classification_scheme_alias` +ALTER TABLE `HerediVar`.`classification_scheme_alias` ADD UNIQUE INDEX `classification_scheme_alias_unique` (`alias` ASC, `version` ASC); ; -ALTER TABLE `HerediVar_ahdoebm1`.`user` +ALTER TABLE `HerediVar`.`user` ADD COLUMN `api_key` VARCHAR(64) NULL AFTER `affiliation`;