Skip to content

Commit

Permalink
Merge pull request #45 from DiamondLightSource/new_sample_group
Browse files Browse the repository at this point in the history
Add BLSampleGroup with two linked dcids
  • Loading branch information
KarlLevik authored Nov 20, 2020
2 parents b7b90e1 + 98fed2f commit 2815891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ INSERT INTO `BLSample` (`blSampleId`, `diffractionPlanId`, `crystalId`, `contain
--

/*!40000 ALTER TABLE `BLSampleGroup` DISABLE KEYS */;
INSERT INTO `BLSampleGroup` (`blSampleGroupId`, `name`) VALUES (5,NULL),(6,'foo');
INSERT INTO `BLSampleGroup` (`blSampleGroupId`, `name`) VALUES (5,NULL),(6,'foo'),(7,'bar');
/*!40000 ALTER TABLE `BLSampleGroup` ENABLE KEYS */;

--
-- Dumping data for table `BLSampleGroup_has_BLSample`
--

/*!40000 ALTER TABLE `BLSampleGroup_has_BLSample` DISABLE KEYS */;
INSERT INTO `BLSampleGroup_has_BLSample` (`blSampleGroupId`, `blSampleId`, `groupOrder`, `type`, `blSampleTypeId`) VALUES (5,398824,1,'background',NULL),(5,398827,2,'sample',NULL),(6,398810,NULL,NULL,NULL);
INSERT INTO `BLSampleGroup_has_BLSample` (`blSampleGroupId`, `blSampleId`, `groupOrder`, `type`, `blSampleTypeId`) VALUES (5,398824,1,'background',NULL),(5,398827,2,'sample',NULL),(6,398810,NULL,NULL,NULL),(7,398810,NULL,NULL,NULL),(7,374695,NULL,NULL,NULL);
/*!40000 ALTER TABLE `BLSampleGroup_has_BLSample` ENABLE KEYS */;

--
Expand Down

0 comments on commit 2815891

Please sign in to comment.