Added foreign keys to bids migration