Closed arborrow closed 4 years ago
After further thought, I want to use the request types to provide some validation; however, get makes more sense than a put.
Discovered some orphaned payments of $0 amount and soft-deleted them with: UPDATE Donations_payment as p LEFT JOIN Donations as d ON (d.donation_id = p.donation_id) SET p.deleted_at = NOW() WHERE d.donation_id IS NULL AND p.deleted_at IS NULL