Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data migration: clear ICDDRB prescription_drugs (#5389)
**Story card:** [sc-12002] ## How do I know this is correct? I converted the activerecord query on rails console like this: ```ruby destroyed_drugs = PrescriptionDrug .joins(facility: {facility_group: :organization}) .where(organization: {id: ORG_ID}) .to_sql ``` I pasted the resulting SQL output on Metabase BD and inspected the result to ensure that I would be deleting the right thing.
- Loading branch information