From 8dda592a4315643b27c79fa908790ba05689b77e Mon Sep 17 00:00:00 2001 From: KarlLevik Date: Mon, 15 May 2023 11:08:44 +0100 Subject: [PATCH] Bump version to 2.0.0, update HISTORY.md --- HISTORY.rst | 3 +++ schemas/ispyb/lookups.sql | 5 +++-- schemas/ispyb/updates/2023_05_15_AdminVar_bump_version.sql | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 schemas/ispyb/updates/2023_05_15_AdminVar_bump_version.sql diff --git a/HISTORY.rst b/HISTORY.rst index cf90997a..ec87bd01 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,6 +5,9 @@ History Unreleased / master ------------------- +2.0.0 (2023-05-15) +------------------- + Removed procedures relating to old ``XrayCentringResult`` table removed in 1.36.0 (contributed by @DominicOram) New and modified columns: diff --git a/schemas/ispyb/lookups.sql b/schemas/ispyb/lookups.sql index 871446c3..1a3172dd 100644 --- a/schemas/ispyb/lookups.sql +++ b/schemas/ispyb/lookups.sql @@ -10,7 +10,7 @@ /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; /*!40000 ALTER TABLE `AdminVar` DISABLE KEYS */; -INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.36.1'); +INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','2.0.0'); /*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */; /*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */; @@ -226,7 +226,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec (251,'2023_05_05_Dewar_extra.sql','DONE','2023-05-05 14:25:42'), (252,'2023_05_05_ParticleClassificationGroup_selected.sql','DONE','2023-05-05 14:25:42'), (253,'2023_05_09_Dewar_modify_comments.sql','DONE','2023-05-11 15:32:52'), -(254,'2023_05_11_ParticleClassification_selected.sql','DONE','2023-05-11 15:32:52'); +(254,'2023_05_11_ParticleClassification_selected.sql','DONE','2023-05-11 15:32:52'), +(255,'2023_05_15_AdminVar_bump_version.sql','DONE','2023-05-15 09:59:49'); /*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */; /*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */; diff --git a/schemas/ispyb/updates/2023_05_15_AdminVar_bump_version.sql b/schemas/ispyb/updates/2023_05_15_AdminVar_bump_version.sql new file mode 100644 index 00000000..cfd223ef --- /dev/null +++ b/schemas/ispyb/updates/2023_05_15_AdminVar_bump_version.sql @@ -0,0 +1,5 @@ +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2023_05_15_AdminVar_bump_version.sql', 'ONGOING'); + +UPDATE AdminVar SET `value` = '2.0.0' WHERE `name` = 'schemaVersion'; + +UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2023_05_15_AdminVar_bump_version.sql';