Skip to content

Commit

Permalink
Fix load_production_data_for_export (#1763)
Browse files Browse the repository at this point in the history
  • Loading branch information
jim authored Nov 19, 2024
1 parent 7c5915a commit b6a5cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/production.rake
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def scrub_data
postal_code = '60609',
desires = NULL
FROM users
WHERE users.member_id = members.id
WHERE users.id = members.user_id
SQL

# There are some members in the database without associated users that the above query doesn't update.
Expand All @@ -102,7 +102,7 @@ def scrub_data
reset_password_token = NULL,
reset_password_sent_at = NULL
FROM members
WHERE users.member_id = members.id
WHERE users.id = members.user_id
SQL

Adjustment.where.not(square_transaction_id: nil).update_all(square_transaction_id: "sqtrxnid")
Expand Down

0 comments on commit b6a5cea

Please sign in to comment.