Added foreign keys to bids model