Description
In order to start talking about experiments in mpic, we need a way to include feature variants in the upcoming experiments form.
As a precursor to this work, a new variants column should be added to the instruments table. This field should be a json type nullable value.
The structure of the variants json field will include name, type, values and will be handled by the instrument store for serialization/deserialization in T373467
Example value for variants:
{
"name": "color",
"type": "string",
"values": [
"red",
"blue",
"green
]
}Acceptance Criteria
- db.sql file is updated to include this new column
- schema_type, schema_title and stream_name are considered as non-mandatory columns
- Inserts should include test data for this field
- Staging + Production databases are updated accordingly (we have to do this before deploying to the respective environment)
Required
- Unit/Integration tests?
- Documentation?
- Passed QA?