diff --git a/schemas/ispyb/data.sql b/schemas/ispyb/data.sql index 12d5b0c9..b9f8b9c2 100644 --- a/schemas/ispyb/data.sql +++ b/schemas/ispyb/data.sql @@ -249,7 +249,7 @@ INSERT INTO `BLSampleImageScore` (`blSampleImageScoreId`, `name`, `score`, `colo -- /*!40000 ALTER TABLE `BLSample_has_DataCollectionPlan` DISABLE KEYS */; -INSERT INTO `BLSample_has_DataCollectionPlan` (`blSampleId`, `dataCollectionPlanId`, `planOrder`) VALUES (398824,197792,NULL),(398827,197792,NULL); +INSERT INTO `BLSample_has_DataCollectionPlan` (`blSampleId`, `dataCollectionPlanId`, `planOrder`) VALUES (398824,197792,1),(398827,197792,2); /*!40000 ALTER TABLE `BLSample_has_DataCollectionPlan` ENABLE KEYS */; -- @@ -303,6 +303,14 @@ INSERT INTO `BLSubSample` (`blSubSampleId`, `blSampleId`, `diffractionPlanId`, ` /*!40000 ALTER TABLE `BeamCentres` DISABLE KEYS */; /*!40000 ALTER TABLE `BeamCentres` ENABLE KEYS */; +-- +-- Dumping data for table `BeamLineSetup` +-- + +/*!40000 ALTER TABLE `BeamLineSetup` DISABLE KEYS */; +INSERT INTO `BeamLineSetup` (`beamLineSetupId`, `detectorId`, `synchrotronMode`, `undulatorType1`, `undulatorType2`, `undulatorType3`, `focalSpotSizeAtSample`, `focusingOptic`, `beamDivergenceHorizontal`, `beamDivergenceVertical`, `polarisation`, `monochromatorType`, `setupDate`, `synchrotronName`, `maxExpTimePerDataCollection`, `maxExposureTimePerImage`, `minExposureTimePerImage`, `goniostatMaxOscillationSpeed`, `goniostatMaxOscillationWidth`, `goniostatMinOscillationWidth`, `maxTransmission`, `minTransmission`, `recordTimeStamp`, `CS`, `beamlineName`, `beamSizeXMin`, `beamSizeXMax`, `beamSizeYMin`, `beamSizeYMax`, `energyMin`, `energyMax`, `omegaMin`, `omegaMax`, `kappaMin`, `kappaMax`, `phiMin`, `phiMax`, `active`, `numberOfImagesMax`, `numberOfImagesMin`, `boxSizeXMin`, `boxSizeXMax`, `boxSizeYMin`, `boxSizeYMax`, `monoBandwidthMin`, `monoBandwidthMax`, `preferredDataCentre`) VALUES (1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2007-04-26 00:00:00','Diamond Light Source',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2016-03-19 22:56:25',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); +/*!40000 ALTER TABLE `BeamLineSetup` ENABLE KEYS */; + -- -- Dumping data for table `BeamlineAction` -- @@ -1165,22 +1173,6 @@ INSERT INTO `Protein_has_PDB` (`proteinhaspdbid`, `proteinid`, `pdbid`) VALUES ( INSERT INTO `ScanParametersModel` (`scanParametersModelId`, `scanParametersServiceId`, `dataCollectionPlanId`, `sequenceNumber`, `start`, `stop`, `step`, `array`, `duration`) VALUES (4,4,197788,1,0,90,10,NULL,NULL),(7,4,197788,2,90,180,5,NULL,NULL),(10,4,197788,3,180,270,1,NULL,NULL),(13,4,197788,3,270,360,0.5,NULL,NULL),(16,7,197788,4,20,120,10,NULL,NULL),(20,7,197792,1,0,90,5,NULL,NULL),(23,7,197792,2,90,120,1,NULL,NULL); /*!40000 ALTER TABLE `ScanParametersModel` ENABLE KEYS */; --- --- Dumping data for table `ScanParametersService` --- - -/*!40000 ALTER TABLE `ScanParametersService` DISABLE KEYS */; -INSERT INTO `ScanParametersService` (`scanParametersServiceId`, `name`, `description`) VALUES (4,'Temperature','Temperature in Celsius'),(7,'Pressure','Pressure in pascal (Pa)'); -/*!40000 ALTER TABLE `ScanParametersService` ENABLE KEYS */; - --- --- Dumping data for table `ScheduleComponent` --- - -/*!40000 ALTER TABLE `ScheduleComponent` DISABLE KEYS */; -INSERT INTO `ScheduleComponent` (`scheduleComponentId`, `scheduleId`, `offset_hours`, `inspectionTypeId`) VALUES (1,1,0,1),(2,1,12,1),(3,1,24,1),(4,1,96,1),(5,1,48,1),(6,1,72,1),(8,2,24,1),(11,2,48,2),(14,11,0,1),(17,11,12,1),(20,11,24,1),(23,11,36,1),(26,11,60,1),(29,11,96,1),(32,11,156,1),(35,11,252,1),(38,11,408,1),(41,11,660,1),(44,11,1068,1),(47,11,1728,1),(50,11,2796,1),(54,15,3,1),(57,15,6,1),(60,15,9,1),(63,15,12,1),(66,15,18,1),(69,15,24,1),(72,15,30,1),(75,15,36,1),(78,15,42,1),(81,15,48,1),(84,1,120,1),(87,1,144,1),(90,1,168,1),(93,1,336,1),(96,1,504,1); -/*!40000 ALTER TABLE `ScheduleComponent` ENABLE KEYS */; - -- -- Dumping data for table `Screen` -- @@ -1272,6 +1264,13 @@ INSERT INTO `ScreeningStrategySubWedge` (`screeningStrategySubWedgeId`, `screeni INSERT INTO `ScreeningStrategyWedge` (`screeningStrategyWedgeId`, `screeningStrategyId`, `wedgeNumber`, `resolution`, `completeness`, `multiplicity`, `doseTotal`, `numberOfImages`, `phi`, `kappa`, `chi`, `comments`, `wavelength`) VALUES (1143792,1473909,1,1.22,1,NULL,NULL,33,NULL,NULL,NULL,NULL,NULL),(1143795,1473912,1,1.22,0.98,NULL,NULL,33,NULL,NULL,NULL,NULL,NULL),(1143796,1473913,1,1.41,1,4.07,0,220,NULL,NULL,NULL,NULL,NULL),(1143799,1473916,1,1.41,1,16.02,0,867,NULL,NULL,NULL,NULL,NULL),(1143802,1473919,1,1.49,1,3.71,0,202,NULL,NULL,NULL,NULL,NULL),(1143805,1473922,1,1.41,0.997,3.08,0,480,NULL,NULL,NULL,NULL,NULL),(1143808,1473925,1,1.41,0.997,3.08,0,480,NULL,NULL,NULL,NULL,NULL),(1143829,1473946,1,1.51,1,15.93,0,860,NULL,NULL,NULL,NULL,NULL),(1143832,1473949,1,1.51,0.999,3.35,0,347,NULL,NULL,NULL,NULL,NULL),(1143834,1473951,1,1.47,0.99,NULL,NULL,450,NULL,NULL,NULL,NULL,NULL),(1143837,1473954,1,1.47,0.92,NULL,NULL,450,NULL,NULL,NULL,NULL,NULL),(1143838,1473955,1,1.57,1,3.95,0,215,NULL,NULL,NULL,NULL,NULL),(1143841,1473958,1,1.51,0.999,3.35,0,347,NULL,NULL,NULL,NULL,NULL),(1143844,1473961,1,1.51,1,3.83,0,208,NULL,NULL,NULL,NULL,NULL),(1156191,1507101,1,1.47,0.99,NULL,NULL,90,NULL,NULL,NULL,NULL,NULL),(1156194,1507104,1,1.47,0.93,NULL,NULL,90,NULL,NULL,NULL,NULL,NULL),(1156195,1507105,1,1.51,0.999,3.34,0,790,NULL,NULL,NULL,NULL,NULL),(1156204,1507114,1,1.51,0.999,3.3,0,780,NULL,NULL,NULL,NULL,NULL),(1156207,1507117,1,1.51,1,15.21,0,3600,NULL,NULL,NULL,NULL,NULL),(1156210,1507120,1,1.51,0.99,3.29,0,1520,NULL,NULL,NULL,NULL,NULL),(1156213,1507123,1,1.51,0.99,3.29,0,1520,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `ScreeningStrategyWedge` ENABLE KEYS */; +-- +-- Dumping data for table `SessionType` +-- + +/*!40000 ALTER TABLE `SessionType` DISABLE KEYS */; +/*!40000 ALTER TABLE `SessionType` ENABLE KEYS */; + -- -- Dumping data for table `Session_has_Person` -- @@ -1352,22 +1351,6 @@ INSERT INTO `ShippingHasSession` (`shippingId`, `sessionId`) VALUES (474,339525) /*!40000 ALTER TABLE `SubtractionToAbInitioModel` DISABLE KEYS */; /*!40000 ALTER TABLE `SubtractionToAbInitioModel` ENABLE KEYS */; --- --- Dumping data for table `UserGroup` --- - -/*!40000 ALTER TABLE `UserGroup` DISABLE KEYS */; -INSERT INTO `UserGroup` (`userGroupId`, `name`) VALUES (39,'autocollect'),(17,'bag_stats'),(20,'bl_stats'),(8,'developers'),(9,'ehc'),(6,'em_admin'),(10,'fault_admin'),(2,'mx_admin'),(14,'pdb_stats'),(4,'powder_admin'),(3,'saxs_admin'),(28,'ship_manage'),(12,'sm_admin'),(1,'super_admin'),(24,'temp_mx_admin'),(5,'tomo_admin'),(11,'vmxi'),(34,'xpdf_admin'); -/*!40000 ALTER TABLE `UserGroup` ENABLE KEYS */; - --- --- Dumping data for table `UserGroup_has_Permission` --- - -/*!40000 ALTER TABLE `UserGroup_has_Permission` DISABLE KEYS */; -INSERT INTO `UserGroup_has_Permission` (`userGroupId`, `permissionId`) VALUES (1,1),(1,7),(1,8),(1,9),(1,10),(1,11),(1,18),(1,20),(1,23),(1,49),(2,1),(2,6),(2,23),(2,80),(3,7),(3,23),(4,20),(5,10),(6,8),(6,23),(8,1),(8,2),(8,4),(8,6),(8,7),(8,8),(8,9),(8,10),(8,11),(8,18),(8,20),(8,23),(8,26),(8,29),(8,37),(8,49),(9,1),(9,6),(10,12),(10,77),(11,13),(11,15),(11,16),(11,17),(11,32),(11,43),(11,55),(11,58),(11,64),(12,18),(14,1),(17,26),(20,29),(24,1),(28,23),(28,37),(34,49),(39,69); -/*!40000 ALTER TABLE `UserGroup_has_Permission` ENABLE KEYS */; - -- -- Dumping data for table `UserGroup_has_Person` -- @@ -1448,4 +1431,4 @@ INSERT INTO `v_run` (`runId`, `run`, `startDate`, `endDate`) VALUES (1,'2008-01' /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-04-13 17:47:06 +-- Dump completed on 2021-04-20 17:53:54 diff --git a/schemas/ispyb/lookups.sql b/schemas/ispyb/lookups.sql index f06807c6..1086a572 100644 --- a/schemas/ispyb/lookups.sql +++ b/schemas/ispyb/lookups.sql @@ -85,13 +85,6 @@ INSERT INTO `InspectionType` (`inspectionTypeId`, `name`) VALUES (1,'Visible'),( /*!40000 ALTER TABLE `PlateType` DISABLE KEYS */; /*!40000 ALTER TABLE `PlateType` ENABLE KEYS */; --- --- Dumping data for table `SessionType` --- - -/*!40000 ALTER TABLE `SessionType` DISABLE KEYS */; -/*!40000 ALTER TABLE `SessionType` ENABLE KEYS */; - -- -- Dumping data for table `WorkflowType` -- @@ -107,6 +100,14 @@ INSERT INTO `InspectionType` (`inspectionTypeId`, `name`) VALUES (1,'Visible'),( INSERT INTO `Schedule` (`scheduleId`, `name`) VALUES (1,'Daily - 1 week'),(2,'Schedule 2'),(11,'Fibonacci'),(15,'3 Hour Interval'); /*!40000 ALTER TABLE `Schedule` ENABLE KEYS */; +-- +-- Dumping data for table `ScheduleComponent` +-- + +/*!40000 ALTER TABLE `ScheduleComponent` DISABLE KEYS */; +INSERT INTO `ScheduleComponent` (`scheduleComponentId`, `scheduleId`, `offset_hours`, `inspectionTypeId`) VALUES (1,1,0,1),(2,1,12,1),(3,1,24,1),(4,1,96,1),(5,1,48,1),(6,1,72,1),(8,2,24,1),(11,2,48,2),(14,11,0,1),(17,11,12,1),(20,11,24,1),(23,11,36,1),(26,11,60,1),(29,11,96,1),(32,11,156,1),(35,11,252,1),(38,11,408,1),(41,11,660,1),(44,11,1068,1),(47,11,1728,1),(50,11,2796,1),(54,15,3,1),(57,15,6,1),(60,15,9,1),(63,15,12,1),(66,15,18,1),(69,15,24,1),(72,15,30,1),(75,15,36,1),(78,15,42,1),(81,15,48,1),(84,1,120,1),(87,1,144,1),(90,1,168,1),(93,1,336,1),(96,1,504,1); +/*!40000 ALTER TABLE `ScheduleComponent` ENABLE KEYS */; + -- -- Dumping data for table `Imager` -- @@ -130,14 +131,6 @@ INSERT INTO `Detector` (`detectorId`, `detectorType`, `detectorManufacturer`, `d /*!40000 ALTER TABLE `DewarLocationList` DISABLE KEYS */; /*!40000 ALTER TABLE `DewarLocationList` ENABLE KEYS */; --- --- Dumping data for table `BeamLineSetup` --- - -/*!40000 ALTER TABLE `BeamLineSetup` DISABLE KEYS */; -INSERT INTO `BeamLineSetup` (`beamLineSetupId`, `detectorId`, `synchrotronMode`, `undulatorType1`, `undulatorType2`, `undulatorType3`, `focalSpotSizeAtSample`, `focusingOptic`, `beamDivergenceHorizontal`, `beamDivergenceVertical`, `polarisation`, `monochromatorType`, `setupDate`, `synchrotronName`, `maxExpTimePerDataCollection`, `maxExposureTimePerImage`, `minExposureTimePerImage`, `goniostatMaxOscillationSpeed`, `goniostatMaxOscillationWidth`, `goniostatMinOscillationWidth`, `maxTransmission`, `minTransmission`, `recordTimeStamp`, `CS`, `beamlineName`, `beamSizeXMin`, `beamSizeXMax`, `beamSizeYMin`, `beamSizeYMax`, `energyMin`, `energyMax`, `omegaMin`, `omegaMax`, `kappaMin`, `kappaMax`, `phiMin`, `phiMax`, `active`, `numberOfImagesMax`, `numberOfImagesMin`, `boxSizeXMin`, `boxSizeXMax`, `boxSizeYMin`, `boxSizeYMax`, `monoBandwidthMin`, `monoBandwidthMax`, `preferredDataCentre`) VALUES (1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2007-04-26 00:00:00','Diamond Light Source',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2016-03-19 22:56:25',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); -/*!40000 ALTER TABLE `BeamLineSetup` ENABLE KEYS */; - -- -- Dumping data for table `BF_component` -- @@ -159,14 +152,6 @@ INSERT INTO `BeamLineSetup` (`beamLineSetupId`, `detectorId`, `synchrotronMode`, /*!40000 ALTER TABLE `BF_system` DISABLE KEYS */; /*!40000 ALTER TABLE `BF_system` ENABLE KEYS */; --- --- Dumping data for table `Permission` --- - -/*!40000 ALTER TABLE `Permission` DISABLE KEYS */; -INSERT INTO `Permission` (`permissionId`, `type`, `description`) VALUES (1,'mx_admin','MX Administrator'),(2,'manage_groups','Manage User Groups'),(4,'manage_perms','Manage User Group Permissions'),(5,'global_stats','View Global Statistics'),(6,'fault_view','View Fault Reports'),(7,'saxs_admin','SAXS Administrator'),(8,'em_admin','EM Administrator'),(9,'gen_admin','Powder Admin'),(10,'tomo_admin','Tomo Admin'),(11,'super_admin','Site Admin'),(12,'fault_global','Globally edit all faults'),(13,'schedules','Manage Imaging Schedules'),(15,'schedule_comps','Manage Imaging Schedule Components'),(16,'imaging_dash','Imaging Dashboard'),(17,'vmxi_queue','VMXi Data Collection Queue'),(18,'sm_admin','Small Molecule Admin'),(20,'pow_admin','Power Admin'),(23,'all_dewars','View All Dewars'),(26,'all_prop_stats','View All Proposal Stats'),(29,'all_breakdown','View Aggregated Visit Breakdown Stats'),(32,'disp_cont','VMXi Dispose Container'),(37,'view_manifest','View Shipping Manifest'),(43,'schedule_comp','typo fill in'),(49,'xpdf_admin','XPDF Admin'),(55,'edit_presets','Edit Beamline DC Presets'),(58,'manage_params','Edit Beamline Parameter Limits'),(64,'manage_detector','Manage Beamline Detector Limits'),(69,'auto_dash','AutoCollect Dashboard'),(77,'fault_admin','Edit Fault Categories'),(80,'fault_add','Add New Fault Reports'); -/*!40000 ALTER TABLE `Permission` ENABLE KEYS */; - -- -- Dumping data for table `BLSampleImageAutoScoreSchema` -- @@ -191,14 +176,6 @@ INSERT INTO `BLSampleImageAutoScoreClass` (`blSampleImageAutoScoreClassId`, `blS INSERT INTO `SpaceGroup` (`spaceGroupId`, `spaceGroupNumber`, `spaceGroupShortName`, `spaceGroupName`, `bravaisLattice`, `bravaisLatticeName`, `pointGroup`, `geometryClassnameId`, `MX_used`) VALUES (1,1,'P1','P 1','aP',NULL,NULL,NULL,1),(2,2,'P-1','P-1',NULL,NULL,NULL,NULL,1),(3,3,'P121','P 12 1','mP',NULL,NULL,NULL,1),(4,4,'P1211','P 121 1','mP',NULL,NULL,NULL,1),(5,5,'C121','C 12 1','mC,mI',NULL,NULL,NULL,1),(6,6,'P1m1','P 1m 1',NULL,NULL,NULL,NULL,1),(7,7,'P1c1','P 1c 1',NULL,NULL,NULL,NULL,1),(8,8,'C1m1','C 1m 1',NULL,NULL,NULL,NULL,1),(9,9,'C1c1','C 1c 1',NULL,NULL,NULL,NULL,1),(10,10,'P12/m1','P 12/m 1',NULL,NULL,NULL,NULL,1),(11,11,'P121/m1','P 121/m 1',NULL,NULL,NULL,NULL,1),(12,12,'C12/m1','C 12/m 1',NULL,NULL,NULL,NULL,1),(13,13,'P12/c1','P 12/c 1',NULL,NULL,NULL,NULL,1),(14,14,'P121/c1','P 121/c 1',NULL,NULL,NULL,NULL,1),(15,15,'C12/c1','C 12/c 1',NULL,NULL,NULL,NULL,1),(16,16,'P222','P 22 2','oP',NULL,NULL,NULL,1),(17,17,'P2221','P 22 21','oP',NULL,NULL,NULL,1),(18,18,'P21212','P21 21 2','oP',NULL,NULL,NULL,1),(19,19,'P212121','P21 21 21','oP',NULL,NULL,NULL,1),(20,20,'C2221','C 22 21','oC',NULL,NULL,NULL,1),(21,21,'C222','C 22 2','oC',NULL,NULL,NULL,1),(22,22,'F222','F 22 2','oF',NULL,NULL,NULL,1),(23,23,'I222','I 22 2','oI',NULL,NULL,NULL,1),(24,24,'I212121','I21 21 21','oI',NULL,NULL,NULL,1),(25,25,'Pmm2','P mm 2',NULL,NULL,NULL,NULL,1),(26,26,'Pmc21','P mc 21',NULL,NULL,NULL,NULL,1),(27,27,'Pcc2','P cc 2',NULL,NULL,NULL,NULL,1),(28,28,'Pma2','P ma 2',NULL,NULL,NULL,NULL,1),(29,29,'Pca21','P ca 21',NULL,NULL,NULL,NULL,1),(30,30,'Pnc2','P nc 2',NULL,NULL,NULL,NULL,1),(31,31,'Pmn21','P mn 21',NULL,NULL,NULL,NULL,1),(32,32,'Pba2','P ba 2',NULL,NULL,NULL,NULL,1),(33,33,'Pna21','P na 21',NULL,NULL,NULL,NULL,1),(34,34,'Pnn2','P nn 2',NULL,NULL,NULL,NULL,1),(35,35,'Cmm2','C mm 2',NULL,NULL,NULL,NULL,1),(36,36,'Cmc21','C mc 21',NULL,NULL,NULL,NULL,1),(37,37,'Ccc2','C cc 2',NULL,NULL,NULL,NULL,1),(38,38,'Amm2','A mm 2',NULL,NULL,NULL,NULL,1),(39,39,'Abm2','A bm 2',NULL,NULL,NULL,NULL,1),(40,40,'Ama2','A ma 2',NULL,NULL,NULL,NULL,1),(41,41,'Aba2','A ba 2',NULL,NULL,NULL,NULL,1),(42,42,'Fmm2','F mm 2',NULL,NULL,NULL,NULL,1),(43,43,'Fdd2','F dd 2',NULL,NULL,NULL,NULL,1),(44,44,'Imm2','I mm 2',NULL,NULL,NULL,NULL,1),(45,45,'Iba2','I ba 2',NULL,NULL,NULL,NULL,1),(46,46,'Ima2','I ma 2',NULL,NULL,NULL,NULL,1),(47,47,'Pmmm','P mm m',NULL,NULL,NULL,NULL,1),(48,48,'Pnnn','P nn n',NULL,NULL,NULL,NULL,1),(49,49,'Pccm','P cc m',NULL,NULL,NULL,NULL,1),(50,50,'Pban','P ba n',NULL,NULL,NULL,NULL,1),(51,51,'Pmma1','P mm a1',NULL,NULL,NULL,NULL,1),(52,52,'Pnna1','P nn a1',NULL,NULL,NULL,NULL,1),(53,53,'Pmna1','P mn a1',NULL,NULL,NULL,NULL,1),(54,54,'Pcca1','P cc a1',NULL,NULL,NULL,NULL,1),(55,55,'Pbam1','P ba m1',NULL,NULL,NULL,NULL,1),(56,56,'Pccn1','P cc n1',NULL,NULL,NULL,NULL,1),(57,57,'Pbcm1','P bc m1',NULL,NULL,NULL,NULL,1),(58,58,'Pnnm1','P nn m1',NULL,NULL,NULL,NULL,1),(59,59,'Pmmn1','P mm n1',NULL,NULL,NULL,NULL,1),(60,60,'Pbcn1','P bc n1',NULL,NULL,NULL,NULL,1),(61,61,'Pbca1','P bc a1',NULL,NULL,NULL,NULL,1),(62,62,'Pnma1','P nm a1',NULL,NULL,NULL,NULL,1),(63,63,'Cmcm1','C mc m1',NULL,NULL,NULL,NULL,1),(64,64,'Cmca1','C mc a1',NULL,NULL,NULL,NULL,1),(65,65,'Cmmm','C mm m',NULL,NULL,NULL,NULL,1),(66,66,'Cccm','C cc m',NULL,NULL,NULL,NULL,1),(67,67,'Cmma','C mm a',NULL,NULL,NULL,NULL,1),(68,68,'Ccca','C cc a',NULL,NULL,NULL,NULL,1),(69,69,'Fmmm','F mm m',NULL,NULL,NULL,NULL,1),(70,70,'Fddd','F dd d',NULL,NULL,NULL,NULL,1),(71,71,'Immm','I mm m',NULL,NULL,NULL,NULL,1),(72,72,'Ibam','I ba m',NULL,NULL,NULL,NULL,1),(73,73,'Ibca1','I b c a1',NULL,NULL,NULL,NULL,1),(74,74,'Imma1','I mm a1',NULL,NULL,NULL,NULL,1),(75,75,'P4','P4','tP',NULL,NULL,NULL,1),(76,76,'P41','P41','tP',NULL,NULL,NULL,1),(77,77,'P42','P42','tP',NULL,NULL,NULL,1),(78,78,'P43','P43','tP',NULL,NULL,NULL,1),(79,79,'I4','I4','tI',NULL,NULL,NULL,1),(80,80,'I41','I41','tI',NULL,NULL,NULL,1),(81,81,'P-4','P-4',NULL,NULL,NULL,NULL,1),(82,82,'I-4','I-4',NULL,NULL,NULL,NULL,1),(83,83,'P4/m','P4/m',NULL,NULL,NULL,NULL,1),(84,84,'P42/m','P42/m',NULL,NULL,NULL,NULL,1),(85,85,'P4/n','P4/n',NULL,NULL,NULL,NULL,1),(86,86,'P42/n','P42/n',NULL,NULL,NULL,NULL,1),(87,87,'I4/m','I4/m',NULL,NULL,NULL,NULL,1),(88,88,'I41/a','I41/a',NULL,NULL,NULL,NULL,1),(89,89,'P422','P 42 2','tP',NULL,NULL,NULL,1),(90,90,'P4212','P 421 2','tP',NULL,NULL,NULL,1),(91,91,'P4122','P41 2 2','tP',NULL,NULL,NULL,1),(92,92,'P41212','P41 21 2','tP',NULL,NULL,NULL,1),(93,93,'P4222','P42 2 2','tP',NULL,NULL,NULL,1),(94,94,'P42212','P42 21 2','tP',NULL,NULL,NULL,1),(95,95,'P4322','P43 2 2','tP',NULL,NULL,NULL,1),(96,96,'P43212','P43 21 2','tP',NULL,NULL,NULL,1),(97,97,'I422','I 42 2','tI',NULL,NULL,NULL,1),(98,98,'I4122','I41 2 2','tI',NULL,NULL,NULL,1),(99,99,'P4mm','P 4m m',NULL,NULL,NULL,NULL,1),(100,100,'P4bm','P4 b m',NULL,NULL,NULL,NULL,1),(101,101,'P42cm','P42 c m',NULL,NULL,NULL,NULL,1),(102,102,'P42nm','P42 n m',NULL,NULL,NULL,NULL,1),(103,103,'P4cc','P4 c c',NULL,NULL,NULL,NULL,1),(104,104,'P4nc','P4 n c',NULL,NULL,NULL,NULL,1),(105,105,'P42mc','P42 m c',NULL,NULL,NULL,NULL,1),(106,106,'P42bc','P42 b c',NULL,NULL,NULL,NULL,1),(107,107,'I4mm','I4 m m',NULL,NULL,NULL,NULL,1),(108,108,'I4cm','I4 c m',NULL,NULL,NULL,NULL,1),(109,109,'I41md','I41 m d',NULL,NULL,NULL,NULL,1),(110,110,'I41cd','I41 c d',NULL,NULL,NULL,NULL,1),(111,111,'P-42m','P-4 2 m',NULL,NULL,NULL,NULL,1),(112,112,'P-42c','P-4 2 c',NULL,NULL,NULL,NULL,1),(113,113,'P-421m','P-4 21 m',NULL,NULL,NULL,NULL,1),(114,114,'P-421c','P-4 21 c',NULL,NULL,NULL,NULL,1),(115,115,'P-4m2','P-4 m 2',NULL,NULL,NULL,NULL,1),(116,116,'P-4c2','P-4 c 2',NULL,NULL,NULL,NULL,1),(117,117,'P-4b2','P-4 b 2',NULL,NULL,NULL,NULL,1),(118,118,'P-4n2','P-4 n 2',NULL,NULL,NULL,NULL,1),(119,119,'I-4m2','I-4 m 2',NULL,NULL,NULL,NULL,1),(120,120,'I-4c2','I-4 c 2',NULL,NULL,NULL,NULL,1),(121,121,'I-42m','I-4 2 m',NULL,NULL,NULL,NULL,1),(122,122,'I-42d','I-4 2 d',NULL,NULL,NULL,NULL,1),(123,123,'P4/mmm','P4/m m m',NULL,NULL,NULL,NULL,1),(124,124,'P4/mcc','P4/m c c',NULL,NULL,NULL,NULL,1),(125,125,'P4/nbm','P4/n b m',NULL,NULL,NULL,NULL,1),(126,126,'P4/nnc','P4/n n c',NULL,NULL,NULL,NULL,1),(127,127,'P4/mbm1','P4/m b m1',NULL,NULL,NULL,NULL,1),(128,128,'P4/mnc1','P4/m n c1',NULL,NULL,NULL,NULL,1),(129,129,'P4/nmm1','P4/n m m1',NULL,NULL,NULL,NULL,1),(130,130,'P4/ncc1','P4/n c c1',NULL,NULL,NULL,NULL,1),(131,131,'P42/mmc','P42/m m c',NULL,NULL,NULL,NULL,1),(132,132,'P42/mcm','P42/m c m',NULL,NULL,NULL,NULL,1),(133,133,'P42/nbc','P42/n b c',NULL,NULL,NULL,NULL,1),(134,134,'P42/nnm','P42/n n m',NULL,NULL,NULL,NULL,1),(135,135,'P42/mbc','P42/m b c',NULL,NULL,NULL,NULL,1),(136,136,'P42/mnm','P42/m n m',NULL,NULL,NULL,NULL,1),(137,137,'P42/nmc','P42/n m c',NULL,NULL,NULL,NULL,1),(138,138,'P42/ncm','P42/n c m',NULL,NULL,NULL,NULL,1),(139,139,'I4/mmm','I4/m m m',NULL,NULL,NULL,NULL,1),(140,140,'I4/mcm','I4/m c m',NULL,NULL,NULL,NULL,1),(141,141,'I41/amd','I41/a m d',NULL,NULL,NULL,NULL,1),(142,142,'I41/acd','I41/a c d',NULL,NULL,NULL,NULL,1),(143,143,'P3','P3','hP',NULL,NULL,NULL,1),(144,144,'P31','P31','hP',NULL,NULL,NULL,1),(145,145,'P32','P32','hP',NULL,NULL,NULL,1),(146,146,'H3','H3','hR',NULL,NULL,NULL,1),(147,147,'P-3','P-3',NULL,NULL,NULL,NULL,1),(148,148,'H-3','H-3',NULL,NULL,NULL,NULL,1),(149,149,'P312','P3 1 2','hP',NULL,NULL,NULL,1),(150,150,'P321','P3 2 1','hP',NULL,NULL,NULL,1),(151,151,'P3112','P31 1 2','hP',NULL,NULL,NULL,1),(152,152,'P3121','P31 2 1','hP',NULL,NULL,NULL,1),(153,153,'P3212','P32 1 2','hP',NULL,NULL,NULL,1),(154,154,'P3221','P32 2 1','hP',NULL,NULL,NULL,1),(155,155,'H32','H3 2','hR',NULL,NULL,NULL,1),(156,156,'P3m1','P3 m 1',NULL,NULL,NULL,NULL,1),(157,157,'P31m','P3 1 m',NULL,NULL,NULL,NULL,1),(158,158,'P3c1','P3 c 1',NULL,NULL,NULL,NULL,1),(159,159,'P31c','P3 1 c',NULL,NULL,NULL,NULL,1),(160,160,'H3m','H3 m',NULL,NULL,NULL,NULL,1),(161,161,'H3c','H3 c',NULL,NULL,NULL,NULL,1),(162,162,'P-31m','P-3 1 m',NULL,NULL,NULL,NULL,1),(163,163,'P-31c','P-3 1 c',NULL,NULL,NULL,NULL,1),(164,164,'P-3m1','P-3 m 1',NULL,NULL,NULL,NULL,1),(165,165,'P-3c1','P-3 c 1',NULL,NULL,NULL,NULL,1),(166,166,'H-3m','H-3 m',NULL,NULL,NULL,NULL,1),(167,167,'H-3c','H-3 c',NULL,NULL,NULL,NULL,1),(168,168,'P6','P6','hP',NULL,NULL,NULL,1),(169,169,'P61','P61','hP',NULL,NULL,NULL,1),(170,170,'P65','P65','hP',NULL,NULL,NULL,1),(171,171,'P62','P62','hP',NULL,NULL,NULL,1),(172,172,'P64','P64','hP',NULL,NULL,NULL,1),(173,173,'P63','P63','hP',NULL,NULL,NULL,1),(174,174,'P-6','P-6',NULL,NULL,NULL,NULL,1),(175,175,'P6/m','P6/m',NULL,NULL,NULL,NULL,1),(176,176,'P63/m','P63/m',NULL,NULL,NULL,NULL,1),(177,177,'P622','P6 2 2','hP',NULL,NULL,NULL,1),(178,178,'P6122','P61 2 2','hP',NULL,NULL,NULL,1),(179,179,'P6522','P65 2 2','hP',NULL,NULL,NULL,1),(180,180,'P6222','P62 2 2','hP',NULL,NULL,NULL,1),(181,181,'P6422','P64 2 2','hP',NULL,NULL,NULL,1),(182,182,'P6322','P63 2 2','hP',NULL,NULL,NULL,1),(183,183,'P6mm','P6 m m',NULL,NULL,NULL,NULL,1),(184,184,'P6cc','P6 c c',NULL,NULL,NULL,NULL,1),(185,185,'P63cm','P63 c m',NULL,NULL,NULL,NULL,1),(186,186,'P63mc','P63 m c',NULL,NULL,NULL,NULL,1),(187,187,'P-6m2','P-6 m 2',NULL,NULL,NULL,NULL,1),(188,188,'P-6c2','P-6 c 2',NULL,NULL,NULL,NULL,1),(189,189,'P-62m','P-6 2 m',NULL,NULL,NULL,NULL,1),(190,190,'P-62c','P-6 2 c',NULL,NULL,NULL,NULL,1),(191,191,'P6/mmm','P6/m m m',NULL,NULL,NULL,NULL,1),(192,192,'P6/mcc','P6/m c c',NULL,NULL,NULL,NULL,1),(193,193,'P63/mcm','P63/m c m',NULL,NULL,NULL,NULL,1),(194,194,'P63/mmc','P63/m m c',NULL,NULL,NULL,NULL,1),(195,195,'P23','P2 3','cP',NULL,NULL,NULL,1),(196,196,'F23','F2 3','cF',NULL,NULL,NULL,1),(197,197,'I23','I2 3','cI',NULL,NULL,NULL,1),(198,198,'P213','P21 3','cP',NULL,NULL,NULL,1),(199,199,'I213','I21 3','cI',NULL,NULL,NULL,1),(200,200,'Pm-3','Pm -3',NULL,NULL,NULL,NULL,1),(201,201,'Pn-3','Pn -3',NULL,NULL,NULL,NULL,1),(202,202,'Fm-3','Fm -3',NULL,NULL,NULL,NULL,1),(203,203,'Fd-3','Fd -3',NULL,NULL,NULL,NULL,1),(204,204,'Im-3','Im -3',NULL,NULL,NULL,NULL,1),(205,205,'Pa-31','Pa -31',NULL,NULL,NULL,NULL,1),(206,206,'Ia-31','Ia -31',NULL,NULL,NULL,NULL,1),(207,207,'P432','P4 3 2','cP',NULL,NULL,NULL,1),(208,208,'P4232','P42 3 2','cP',NULL,NULL,NULL,1),(209,209,'F432','F4 3 2','cF',NULL,NULL,NULL,1),(210,210,'F4132','F41 3 2','cF',NULL,NULL,NULL,1),(211,211,'I432','I4 3 2','cI',NULL,NULL,NULL,1),(212,212,'P4332','P43 3 2','cP',NULL,NULL,NULL,1),(213,213,'P4132','P41 3 2','cP',NULL,NULL,NULL,1),(214,214,'I4132','I41 3 2','cI',NULL,NULL,NULL,1),(215,215,'P-43m','P-4 3 m',NULL,NULL,NULL,NULL,1),(216,216,'F-43m','F-4 3 m',NULL,NULL,NULL,NULL,1),(217,217,'I-43m','I-4 3 m',NULL,NULL,NULL,NULL,1),(218,218,'P-43n','P-4 3 n',NULL,NULL,NULL,NULL,1),(219,219,'F-43c','F-4 3 c',NULL,NULL,NULL,NULL,1),(220,220,'I-43d','I-4 3 d',NULL,NULL,NULL,NULL,1),(221,221,'Pm-3m','Pm -3 m',NULL,NULL,NULL,NULL,1),(222,222,'Pn-3n','Pn -3 n',NULL,NULL,NULL,NULL,1),(223,223,'Pm-3n1','Pm -3 n1',NULL,NULL,NULL,NULL,1),(224,224,'Pn-3m1','Pn -3 m1',NULL,NULL,NULL,NULL,1),(225,225,'Fm-3m','Fm -3 m',NULL,NULL,NULL,NULL,1),(226,226,'Fm-3c','Fm -3 c',NULL,NULL,NULL,NULL,1),(227,227,'Fd-3m1','Fd -3 m1',NULL,NULL,NULL,NULL,1),(228,228,'Fd-3c1','Fd -3 c1',NULL,NULL,NULL,NULL,1),(229,229,'Im-3m','Im -3 m',NULL,NULL,NULL,NULL,1),(230,230,'Ia-3d1','Ia -3 d1',NULL,NULL,NULL,NULL,1); /*!40000 ALTER TABLE `SpaceGroup` ENABLE KEYS */; --- --- Dumping data for table `ProcessingPipeline` --- - -/*!40000 ALTER TABLE `ProcessingPipeline` DISABLE KEYS */; -INSERT INTO `ProcessingPipeline` (`processingPipelineId`, `processingPipelineCategoryId`, `name`, `discipline`, `pipelineStatus`, `reprocessing`) VALUES (1,1,'Mosflm','MX','automatic',0),(2,1,'EDNA','MX','automatic',0),(3,2,'Fast DP','MX','automatic',1),(4,2,'xia2/3dii','MX','deprecated',0),(5,2,'xia2/Multiplex','MX','automatic',1),(6,2,'xia2/DIALS','MX','optional',1),(7,2,'xia2/XDS','MX','optional',1),(8,2,'autoPROC','MX','optional',1),(9,3,'Fast EP','MX','automatic',0),(10,3,'Dimple','MX','automatic',0),(11,3,'MrBUMP','MX','automatic',0),(12,3,'Big EP/XDS','MX','automatic',0),(13,3,'Big EP/DIALS','MX','automatic',0); -/*!40000 ALTER TABLE `ProcessingPipeline` ENABLE KEYS */; - -- -- Dumping data for table `ProcessingPipelineCategory` -- @@ -207,6 +184,14 @@ INSERT INTO `ProcessingPipeline` (`processingPipelineId`, `processingPipelineCat INSERT INTO `ProcessingPipelineCategory` (`processingPipelineCategoryId`, `name`) VALUES (1,'screening'),(2,'processing'),(3,'post processing'); /*!40000 ALTER TABLE `ProcessingPipelineCategory` ENABLE KEYS */; +-- +-- Dumping data for table `ProcessingPipeline` +-- + +/*!40000 ALTER TABLE `ProcessingPipeline` DISABLE KEYS */; +INSERT INTO `ProcessingPipeline` (`processingPipelineId`, `processingPipelineCategoryId`, `name`, `discipline`, `pipelineStatus`, `reprocessing`) VALUES (1,1,'Mosflm','MX','automatic',0),(2,1,'EDNA','MX','automatic',0),(3,2,'Fast DP','MX','automatic',1),(4,2,'xia2/3dii','MX','deprecated',0),(5,2,'xia2/Multiplex','MX','automatic',1),(6,2,'xia2/DIALS','MX','optional',1),(7,2,'xia2/XDS','MX','optional',1),(8,2,'autoPROC','MX','optional',1),(9,3,'Fast EP','MX','automatic',0),(10,3,'Dimple','MX','automatic',0),(11,3,'MrBUMP','MX','automatic',0),(12,3,'Big EP/XDS','MX','automatic',0),(13,3,'Big EP/DIALS','MX','automatic',0); +/*!40000 ALTER TABLE `ProcessingPipeline` ENABLE KEYS */; + -- -- Dumping data for table `BLSampleType` -- @@ -222,6 +207,38 @@ INSERT INTO `BLSampleType` (`blSampleTypeId`, `name`, `proposalType`, `active`) /*!40000 ALTER TABLE `PurificationColumn` DISABLE KEYS */; INSERT INTO `PurificationColumn` (`purificationColumnId`, `name`, `active`) VALUES (1,'user supplied',1),(2,'s75',1),(3,'s200',1),(4,'superose6',1),(5,'kw402.5',1),(6,'kw403',1),(7,'kw404',1),(8,'kw405',1); /*!40000 ALTER TABLE `PurificationColumn` ENABLE KEYS */; + +-- +-- Dumping data for table `UserGroup` +-- + +/*!40000 ALTER TABLE `UserGroup` DISABLE KEYS */; +INSERT INTO `UserGroup` (`userGroupId`, `name`) VALUES (39,'autocollect'),(17,'bag_stats'),(20,'bl_stats'),(8,'developers'),(9,'ehc'),(6,'em_admin'),(10,'fault_admin'),(2,'mx_admin'),(14,'pdb_stats'),(4,'powder_admin'),(3,'saxs_admin'),(28,'ship_manage'),(12,'sm_admin'),(1,'super_admin'),(24,'temp_mx_admin'),(5,'tomo_admin'),(11,'vmxi'),(34,'xpdf_admin'); +/*!40000 ALTER TABLE `UserGroup` ENABLE KEYS */; + +-- +-- Dumping data for table `Permission` +-- + +/*!40000 ALTER TABLE `Permission` DISABLE KEYS */; +INSERT INTO `Permission` (`permissionId`, `type`, `description`) VALUES (1,'mx_admin','MX Administrator'),(2,'manage_groups','Manage User Groups'),(4,'manage_perms','Manage User Group Permissions'),(5,'global_stats','View Global Statistics'),(6,'fault_view','View Fault Reports'),(7,'saxs_admin','SAXS Administrator'),(8,'em_admin','EM Administrator'),(9,'gen_admin','Powder Admin'),(10,'tomo_admin','Tomo Admin'),(11,'super_admin','Site Admin'),(12,'fault_global','Globally edit all faults'),(13,'schedules','Manage Imaging Schedules'),(15,'schedule_comps','Manage Imaging Schedule Components'),(16,'imaging_dash','Imaging Dashboard'),(17,'vmxi_queue','VMXi Data Collection Queue'),(18,'sm_admin','Small Molecule Admin'),(20,'pow_admin','Power Admin'),(23,'all_dewars','View All Dewars'),(26,'all_prop_stats','View All Proposal Stats'),(29,'all_breakdown','View Aggregated Visit Breakdown Stats'),(32,'disp_cont','VMXi Dispose Container'),(37,'view_manifest','View Shipping Manifest'),(43,'schedule_comp','typo fill in'),(49,'xpdf_admin','XPDF Admin'),(55,'edit_presets','Edit Beamline DC Presets'),(58,'manage_params','Edit Beamline Parameter Limits'),(64,'manage_detector','Manage Beamline Detector Limits'),(69,'auto_dash','AutoCollect Dashboard'),(77,'fault_admin','Edit Fault Categories'),(80,'fault_add','Add New Fault Reports'); +/*!40000 ALTER TABLE `Permission` ENABLE KEYS */; + +-- +-- Dumping data for table `UserGroup_has_Permission` +-- + +/*!40000 ALTER TABLE `UserGroup_has_Permission` DISABLE KEYS */; +INSERT INTO `UserGroup_has_Permission` (`userGroupId`, `permissionId`) VALUES (1,1),(1,7),(1,8),(1,9),(1,10),(1,11),(1,18),(1,20),(1,23),(1,49),(2,1),(2,6),(2,23),(2,80),(3,7),(3,23),(4,20),(5,10),(6,8),(6,23),(8,1),(8,2),(8,4),(8,6),(8,7),(8,8),(8,9),(8,10),(8,11),(8,18),(8,20),(8,23),(8,26),(8,29),(8,37),(8,49),(9,1),(9,6),(10,12),(10,77),(11,13),(11,15),(11,16),(11,17),(11,32),(11,43),(11,55),(11,58),(11,64),(12,18),(14,1),(17,26),(20,29),(24,1),(28,23),(28,37),(34,49),(39,69); +/*!40000 ALTER TABLE `UserGroup_has_Permission` ENABLE KEYS */; + +-- +-- Dumping data for table `ScanParametersService` +-- + +/*!40000 ALTER TABLE `ScanParametersService` DISABLE KEYS */; +INSERT INTO `ScanParametersService` (`scanParametersServiceId`, `name`, `description`) VALUES (4,'Temperature','Temperature in Celsius'),(7,'Pressure','Pressure in pascal (Pa)'); +/*!40000 ALTER TABLE `ScanParametersService` ENABLE KEYS */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; @@ -231,4 +248,4 @@ INSERT INTO `PurificationColumn` (`purificationColumnId`, `name`, `active`) VALU /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-04-13 17:47:06 +-- Dump completed on 2021-04-20 17:53:54