Skip to content

Commit

Permalink
Also include investigations where is_isa_json_compliant is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Mar 5, 2024
1 parent 350d196 commit a75ee56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/seek_upgrades.rake
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ namespace :seek do
investigations_updated = 0
disable_authorization_checks do
investigations_to_update = Study.joins(:investigation)
.where('investigations.is_isa_json_compliant = ?', false)
.where('investigations.is_isa_json_compliant IS NULL OR investigations.is_isa_json_compliant = ?', false)
.select { |study| study.sample_types.any? }
.map(&:investigation)
.compact
Expand Down

0 comments on commit a75ee56

Please sign in to comment.