ebi-ait / dcp-ingest-central

Central point of access for the Ingestion Service of the HCA DCP
Apache License 2.0
0 stars 0 forks source link

Set up data migration mechanism for schema releases #972

Open ESapenaVentura opened 1 year ago

ESapenaVentura commented 1 year ago

Description of the issue

When any of the metadata schemas receive an update, the data in our database gets outdated.

For patch and minor changes, this should not matter as changes can be migrated automatically (Backwards compatibility), but currently for major changes we are just to accept there will be multiple instances of the same types of entities with different versions until they are updated manually

User story

As a user of the metadata (Data portal developer/scientific user), I would like that the metadata is updated consistently so that I can adapt my tools to work/display with the entirety of the database's metadata.