Skip to content

Commit

Permalink
Update 0067.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaBirmingham committed Aug 12, 2020
1 parent 4746790 commit e860ea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microsetta_private_api/db/patches/0067.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ AND sample_status IS null AND scan_date IS NOT null;
UPDATE barcodes.barcode
SET sample_status = 'no-collection-info'
FROM ag.ag_kit_barcodes, ag.source, ag.account
WHERE barcode.barcode = ag_kit_barcodes.barcode
AND ag_kit_barcodes.source_id = ag.source.id
WHERE barcode.barcode = ag_kit_barcodes.barcode
AND ag_kit_barcodes.source_id = ag.source.id
AND ag.source.account_id = account.id
AND site_sampled IS null
AND sample_status IS null AND scan_date IS NOT null;
Expand Down

0 comments on commit e860ea1

Please sign in to comment.