Skip to content

Commit

Permalink
Bump to v4.2.1, refresh schema and update HISTORY.rst (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik authored Aug 19, 2024
1 parent f28dc10 commit 9b21dc2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ History
Unreleased / master
-------------------

4.2.1 (2024-08-19)
-------------------

Roles and permissions: Granted ``SELECT``, ``INSERT``, ``UPDATE`` on ``ProcessedTomogram``
for ``ispyb_processing``

4.2.0 (2024-08-14)
-------------------

Expand Down
5 changes: 3 additions & 2 deletions schemas/ispyb/lookups.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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','4.2.0');
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','4.2.1');
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;

/*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */;
Expand Down Expand Up @@ -262,7 +262,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
(291,'2024_07_08_BLSampleGroup_ownerId.sql','DONE','2024-08-14 11:23:41'),
(292,'2024_07_16_ContainerType_insert_new.sql','DONE','2024-08-14 11:23:41'),
(293,'2024_08_08_ProcessedTomogram.sql','DONE','2024-08-14 11:23:41'),
(294,'2024_08_14_AdminVar_bump_version.sql','DONE','2024-08-14 11:23:41');
(294,'2024_08_14_AdminVar_bump_version.sql','DONE','2024-08-14 11:23:41'),
(295,'2024_08_19_AdminVar_bump_version.sql','DONE','2024-08-19 12:17:10');
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;

/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
Expand Down
5 changes: 5 additions & 0 deletions schemas/ispyb/updates/2024_08_19_AdminVar_bump_version.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_08_19_AdminVar_bump_version.sql', 'ONGOING');

UPDATE AdminVar SET `value` = '4.2.1' WHERE `name` = 'schemaVersion';

UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2024_08_19_AdminVar_bump_version.sql';

0 comments on commit 9b21dc2

Please sign in to comment.