diff --git a/HISTORY.rst b/HISTORY.rst index 23d054b6..6d020d4b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,6 +5,9 @@ History Unreleased / master ------------------- +1.34.0 (2023-01-16) +------------------- + Table/column changes: * Table ``Tomogram``: Extra path and file columns @@ -16,6 +19,7 @@ Stored procedures: Grants & roles: +* Add ``EXECUTE`` perms on new procedures to relevant roles * Create role ispyb_web_verify_tests + grants for verifying data written by with ispyb_web * Add missing grant for ispyb_web role diff --git a/schemas/ispyb/lookups.sql b/schemas/ispyb/lookups.sql index f4cb2d0f..f3bc6fdc 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.33.0'); +INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.34.0'); /*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */; /*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */; @@ -208,7 +208,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec (233,'2022_10_17_BLSession_drop_constraint.sql','DONE','2022-10-17 11:25:35'), (234,'2022_10_21_Shipping_extra.sql','DONE','2022-11-02 17:04:27'), (235,'2022_11_02_AdminVar_bump_version.sql','DONE','2022-11-02 17:04:27'), -(236,'2023_01_16_Tomogram_new_cols.sql','DONE','2023-01-16 18:09:03'); +(236,'2023_01_16_Tomogram_new_cols.sql','DONE','2023-01-16 18:09:03'), +(237,'2023_01_16_AdminVar_bump_version.sql','DONE','2023-01-16 18:42:40'); /*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */; /*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */; diff --git a/schemas/ispyb/updates/2023_01_16_AdminVar_bump_version.sql b/schemas/ispyb/updates/2023_01_16_AdminVar_bump_version.sql new file mode 100644 index 00000000..94b9dbe4 --- /dev/null +++ b/schemas/ispyb/updates/2023_01_16_AdminVar_bump_version.sql @@ -0,0 +1,5 @@ +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2023_01_16_AdminVar_bump_version.sql', 'ONGOING'); + +UPDATE AdminVar SET `value` = '1.34.0' WHERE `name` = 'schemaVersion'; + +UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2023_01_16_AdminVar_bump_version.sql';