Added new duration columns and modified the code according to that
-
duration_amount
andduration_description
have been added as new columns to the main database script. An update script has been created for SREs to update the current database on staging/production environments - Both new columns have been renamed to
durationAmount
anddurationDescription
in all occurrences within the code - frontend/backend code have been modified according to the new two columns
- Catalog is private right now and we use
/instruments
to get instrument data when interacting with MPIC where the new columns are included in the response -
/api/v1/instruments
response doesn't include the new columns we have added with this MR - The
validator
we use in the backend was also updated according to the new field names
I have included the script that updates the database but I have also update the init
script. As we are in a early stage, I think we don't need to keep here the update script. Do you agree with removing it from the MR? Should we keep it just for historical reason?