News for hackers. Stuff that matters.
Re:Race conditions on Facebook, DigitalOcean and others (fixed) by some1else on Monday April 27, 2015 @02:58PM (#9448422)
Therefore the only thing left to do is run the following migration:

  add_index :discounts, [:promo_code_id, :customer_id, :order_id], :unique => true

There are no comments on this comment yet.