Skip to content

Commit af804b2

Browse files
committed
Bump version, update history file
1 parent 2fff97c commit af804b2

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ History
55
Unreleased / master
66
-------------------
77

8+
1.36.1 (2023-04-17)
9+
-------------------
10+
11+
Bug fix: The file name of an update .sql file didn't correspond with the name it inserted into the ``SchemaStatus`` table.
12+
813
1.36.0 (2023-04-17)
914
-------------------
1015

schemas/ispyb/lookups.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
1111

1212
/*!40000 ALTER TABLE `AdminVar` DISABLE KEYS */;
13-
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.36.0');
13+
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.36.1');
1414
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;
1515

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

226227
/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2023_04_17_AdminVar_bump_version_v2.sql', 'ONGOING');
2+
3+
UPDATE AdminVar SET `value` = '1.36.1' WHERE `name` = 'schemaVersion';
4+
5+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2023_04_17_AdminVar_bump_version_v2.sql';

0 commit comments

Comments
 (0)