-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPL-754 Add new field priority_level to sample table #527
DPL-754 Add new field priority_level to sample table #527
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the tests please? to ensure the fields are included in the json. https://github.com/sanger/unified_warehouse/blob/develop/spec/models/pac_bio_run_spec.rb
class AddFieldsToLongReadQcResults < ActiveRecord::Migration[7.0] | ||
def change | ||
change_table :long_read_qc_result, bulk: true do |t| | ||
t.string :priority_level, comment: 'Priority level eg Medium, High etc' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again @emrojo I think we need to check that these are relevant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update from meeting 27/07: date_required_by and reason_for_priority are no longer required and can be removed from this schema. priority_level is not a qc_result attribute but should be moved to sample.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Added the migration to add priority_level to sample table.
…ration for long_read_qc_results
@@ -5,6 +5,7 @@ on: | |||
branches: | |||
- master | |||
- develop | |||
- dpl-754-add-fields-to-long-read-qc-results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line won't be needed
Co-authored-by: Harriet Craven <harrietc52@users.noreply.github.com>
Closes #
Changes proposed in this pull request: