Skip to content

Commit

Permalink
Update database sql files
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik authored and github-actions[bot] committed May 30, 2024
1 parent ab6c093 commit f34fb65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions schemas/ispyb/lookups.sql
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
(285,'2024_03_20_Shipping_Dewar_externalIds.sql','DONE','2024-03-26 16:40:34'),
(286,'2024_03_26_AdminVar_bump_version.sql','DONE','2024-03-26 16:40:34'),
(287,'2024_03_26_AutoProc_index_refined_unit_cell.sql','DONE','2024-03-26 16:40:34'),
(288,'2023_11_16_AdminVar_bump_version.sql','DONE','2024-03-26 16:47:25');
(288,'2023_11_16_AdminVar_bump_version.sql','DONE','2024-03-26 16:47:25'),
(289,'2024_05_14_DataCollectionGroup_experimentType.sql','DONE','2024-05-30 12:59:22'),
(290,'2024_05_30_DiffractionPlan_experimentKind.sql','DONE','2024-05-30 12:59:24');
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;

/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
Expand Down Expand Up @@ -370,7 +372,8 @@ INSERT INTO `ExperimentType` (`experimentTypeId`, `name`, `proposalType`, `activ
(39,'Serial Jet','mx',1),
(40,'Still','mx',1),
(41,'SSX-Chip','mx',1),
(42,'SSX-Jet','mx',1);
(42,'SSX-Jet','mx',1),
(43,'Metal ID','mx',1);
/*!40000 ALTER TABLE `ExperimentType` ENABLE KEYS */;

/*!40000 ALTER TABLE `InspectionType` DISABLE KEYS */;
Expand Down
4 changes: 2 additions & 2 deletions schemas/ispyb/tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ CREATE TABLE `DataCollectionGroup` (
`sessionId` int(10) unsigned NOT NULL COMMENT 'references Session table',
`comments` varchar(1024) DEFAULT NULL COMMENT 'comments',
`blSampleId` int(10) unsigned DEFAULT NULL COMMENT 'references BLSample table',
`experimentType` enum('SAD','SAD - Inverse Beam','OSC','Collect - Multiwedge','MAD','Helical','Multi-positional','Mesh','Burn','MAD - Inverse Beam','Characterization','Dehydration','tomo','experiment','EM','PDF','PDF+Bragg','Bragg','single particle','Serial Fixed','Serial Jet','Standard','Time Resolved','Diamond Anvil High Pressure','Custom','XRF map','Energy scan','XRF spectrum','XRF map xas','Mesh3D','Screening','Still','SSX-Chip','SSX-Jet') DEFAULT NULL COMMENT 'Standard: Routine structure determination experiment. Time Resolved: Investigate the change of a system over time. Custom: Special or non-standard data collection.',
`experimentType` enum('SAD','SAD - Inverse Beam','OSC','Collect - Multiwedge','MAD','Helical','Multi-positional','Mesh','Burn','MAD - Inverse Beam','Characterization','Dehydration','tomo','experiment','EM','PDF','PDF+Bragg','Bragg','single particle','Serial Fixed','Serial Jet','Standard','Time Resolved','Diamond Anvil High Pressure','Custom','XRF map','Energy scan','XRF spectrum','XRF map xas','Mesh3D','Screening','Still','SSX-Chip','SSX-Jet','Metal ID') DEFAULT NULL COMMENT 'Standard: Routine structure determination experiment. Time Resolved: Investigate the change of a system over time. Custom: Special or non-standard data collection.',
`startTime` datetime DEFAULT NULL COMMENT 'Start time of the dataCollectionGroup',
`endTime` datetime DEFAULT NULL COMMENT 'end time of the dataCollectionGroup',
`crystalClass` varchar(20) DEFAULT NULL COMMENT 'Crystal Class for industrials users',
Expand Down Expand Up @@ -1713,7 +1713,7 @@ DROP TABLE IF EXISTS `DiffractionPlan`;
CREATE TABLE `DiffractionPlan` (
`diffractionPlanId` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) DEFAULT NULL,
`experimentKind` enum('Default','MXPressE','MXPressO','MXPressE_SAD','MXScore','MXPressM','MAD','SAD','Fixed','Ligand binding','Refinement','OSC','MAD - Inverse Beam','SAD - Inverse Beam','MESH','XFE','Stepped transmission','XChem High Symmetry','XChem Low Symmetry','Commissioning') DEFAULT NULL,
`experimentKind` enum('Default','MXPressE','MXPressO','MXPressE_SAD','MXScore','MXPressM','MAD','SAD','Fixed','Ligand binding','Refinement','OSC','MAD - Inverse Beam','SAD - Inverse Beam','MESH','XFE','Stepped transmission','XChem High Symmetry','XChem Low Symmetry','Commissioning','Metal ID') DEFAULT NULL,
`observedResolution` float DEFAULT NULL,
`minimalResolution` float DEFAULT NULL,
`exposureTime` float DEFAULT NULL,
Expand Down

0 comments on commit f34fb65

Please sign in to comment.