ispyb / ispyb-database-modeling

4 stars 3 forks source link

Add collectionmode to diffractionplan #59

Open stufisher opened 4 years ago

stufisher commented 4 years ago

For work with the APS i would like to add collectionMode to DiffractionPlan to allow users to specify on a sample by sample basis whether the sample can be collected in automated mode, or must be collected by hand (for difficult samples)

ALTER TABLE `DiffractionPlan`
    ADD `collectionMode` ENUM('auto', 'manual') NULL COMMENT 'The requested collection mode, possible values are auto, manual';

-Could maybe be an enum in this case @KarlLevik ?- Now an enum

KarlLevik commented 4 years ago

I think this would probably be better as an enum, yes, because additional modes are not so likely to be needed.