Skip to content

Add a direct relationship between FacilityCycle and Investigation #259

@tomhayter

Description

@tomhayter

In ISIS we currently have some investigations that fall outside of FacilityCycle dates. These gaps in between cycles can last up to a few months. All investigations belong to a cycle, but it is difficult to calculate which FacilityCycle an Investigation belongs to based on it's date. This causes issues when users try to access these investigations in topcat/datagateway.

Adding a direct many-to-one relationship between Investigation and FacilityCycle would help us solve this problem. My proposal is to add a facilityCycle field to the Investigation table. This means that even if the dates don't always match up, an Investigation can still belong to a FacilityCycle.

Metadata

Metadata

Assignees

Labels

schemathis involves changes to the ICAT schema

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions