ispyb / ispyb-database-modeling

4 stars 3 forks source link

Schema fixing: gridinfo should link to datacollection not datacollectiongroup #35

Open stufisher opened 5 years ago

stufisher commented 5 years ago

GridInfo currently links to DataCollectionGroup, and not DataCollection. This means that a datacollectiongroup cannot contain multiple grid scans. I realise at ESRF you group these things using workflow, but we should not make these sort of assumptions.

KarlLevik commented 5 years ago

Agreed at meeting today: we will have both FKs for a while, then delete the DCGID at some point in the future.

antolinos commented 5 years ago

Right