Skip to content

Commit e9b2635

Browse files
committed
Update to version 1.35.0
1 parent fd9bf10 commit e9b2635

File tree

5 files changed

+29
-10
lines changed

5 files changed

+29
-10
lines changed

HISTORY.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ History
55
Unreleased / master
66
-------------------
77

8+
1.35.0 (2023-02-28)
9+
-------------------
10+
11+
* New tables, rows and enum options for SSX (serial crystallography):
12+
* Table ``SSXDataCollection``
13+
* Table ``Component``
14+
* Table ``SampleComposition``
15+
* Table ``CrystalComposition``
16+
* Table ``EventChain``
17+
* Table ``EventType``
18+
* Table ``Event``
19+
* Rows for ``EventType``, ``ComponentType``, ``ExperimentType``
20+
* Enum options in ``DataCollectionGroup.experimentType``: 'Still' (not for SSX), 'SSX-Chip', 'SSX-Jet'
821
* Turn on column compression for ``PDB.contents``. (This is a slow operation which takes several minutes on a table with thousands of rows.)
922
* Drop unneccessary column ``Tomogram.processingJobId``.
1023

@@ -13,7 +26,6 @@ Unreleased / master
1326

1427
* Add ``EXECUTE`` perm on procedure ``update_dc_append_comments`` to 'ispyb_processing' role.
1528

16-
1729
1.34.0 (2023-01-16)
1830
-------------------
1931

bin/lookup_tables.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ UserGroup
2828
Permission
2929
UserGroup_has_Permission
3030
ScanParametersService
31+
EventType
3132
)
3233

3334
LOOKUP_TABLES_STRING=''

schemas/ispyb/data.sql

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -521,13 +521,6 @@ INSERT INTO `EnergyScan` (`energyScanId`, `sessionId`, `blSampleId`, `fluorescen
521521
/*!40000 ALTER TABLE `EventChain` DISABLE KEYS */;
522522
/*!40000 ALTER TABLE `EventChain` ENABLE KEYS */;
523523

524-
/*!40000 ALTER TABLE `EventType` DISABLE KEYS */;
525-
INSERT INTO `EventType` (`eventTypeId`, `name`) VALUES (3,'LaserExcitation'),
526-
(4,'ReactionTrigger'),
527-
(1,'XrayDetection'),
528-
(2,'XrayExposure');
529-
/*!40000 ALTER TABLE `EventType` ENABLE KEYS */;
530-
531524
/*!40000 ALTER TABLE `Experiment` DISABLE KEYS */;
532525
/*!40000 ALTER TABLE `Experiment` ENABLE KEYS */;
533526

schemas/ispyb/lookups.sql

Lines changed: 10 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.34.1');
13+
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.35.0');
1414
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;
1515

1616
/*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */;
@@ -213,7 +213,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
213213
(238,'2023_01_19_AdminVar_bump_version.sql','DONE','2023-01-19 12:24:28'),
214214
(239,'2023_02_01_PDB_contents_compressed.sql','DONE','2023-02-21 13:20:55'),
215215
(240,'2023_02_01_Tomogram_drop_processingJobId.sql','DONE','2023-02-21 13:20:55'),
216-
(241,'2023_02_14_SSX_experiment.sql','DONE','2023-02-21 13:20:55');
216+
(241,'2023_02_14_SSX_experiment.sql','DONE','2023-02-21 13:20:55'),
217+
(242,'2023_02_28_AdminVar_bump_version.sql','DONE','2023-02-28 16:57:44');
217218
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;
218219

219220
/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
@@ -826,6 +827,13 @@ INSERT INTO `UserGroup_has_Permission` (`userGroupId`, `permissionId`) VALUES (1
826827
INSERT INTO `ScanParametersService` (`scanParametersServiceId`, `name`, `description`) VALUES (4,'Temperature','Temperature in Celsius'),
827828
(7,'Pressure','Pressure in pascal (Pa)');
828829
/*!40000 ALTER TABLE `ScanParametersService` ENABLE KEYS */;
830+
831+
/*!40000 ALTER TABLE `EventType` DISABLE KEYS */;
832+
INSERT INTO `EventType` (`eventTypeId`, `name`) VALUES (3,'LaserExcitation'),
833+
(4,'ReactionTrigger'),
834+
(1,'XrayDetection'),
835+
(2,'XrayExposure');
836+
/*!40000 ALTER TABLE `EventType` ENABLE KEYS */;
829837
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
830838

831839
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
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_02_28_AdminVar_bump_version.sql', 'ONGOING');
2+
3+
UPDATE AdminVar SET `value` = '1.35.0' WHERE `name` = 'schemaVersion';
4+
5+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2023_02_28_AdminVar_bump_version.sql';

0 commit comments

Comments
 (0)