Skip to content

Commit

Permalink
Bump version, update history file
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik committed Apr 17, 2023
1 parent 2fff97c commit af804b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ History
Unreleased / master
-------------------

1.36.1 (2023-04-17)
-------------------

Bug fix: The file name of an update .sql file didn't correspond with the name it inserted into the ``SchemaStatus`` table.

1.36.0 (2023-04-17)
-------------------

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','1.36.0');
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.36.1');
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;

/*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */;
Expand Down Expand Up @@ -220,7 +220,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
(245,'2023_03_27_GridInfo_micronsPerPixelXY.sql','DONE','2023-03-27 11:06:44'),
(246,'2023_04_04_XrayCentring.sql','DONE','2023-04-13 17:03:59'),
(247,'2023_04_14_XrayCentring.sql','DONE','2023-04-17 10:06:29'),
(248,'2023_04_17_AdminVar_bump_version.sql','DONE','2023-04-17 10:06:29');
(248,'2023_04_17_AdminVar_bump_version.sql','DONE','2023-04-17 10:06:29'),
(249,'2023_04_17_AdminVar_bump_version_v2.sql','DONE','2023-04-17 11:27:26');
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;

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

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

UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2023_04_17_AdminVar_bump_version_v2.sql';

0 comments on commit af804b2

Please sign in to comment.