mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-01 10:14:57 -05:00
Uses both transaction id and campaign id to uniquely identify a bid. This fixes a bug where querying for one bid in some cases caused a multiple rows returned exception - a side effect of the campaign migration, which left both old and new bids in the db. This change also includes the campaign id when attempting to recreate a lost bid record because... bid records are supposed to have campaign ids. I'm not sure what was happening with the bid records that didn't.