Open stufisher opened 4 years ago
ALTER TABLE
statement to avoid unnecessary extra table rebuilds with older versions of MariaDB/MySQL.NO ACTION
is better than RESTRICT
. If for whatever reason the DiffractionPlan row is deleted, then we want the DataCollection(s) and ContainerQueueSample(s) to remain. @KarlLevik note i added blsample to containerqueuesample here so it can be used to queue samples, and subsamples. These are all related to each other so i think this is ok
I would like to add diffractionplanid to datacollection and containerqueuesample. This will allow us to know which diffraction plan has been queued and which diffractionplan a datacollection came from.