mozilla/affiliates — pull request #54 by Osmose (2011-10-19 19:05:04+00:00)
Title: Check for uniqueness of banner-image-user on save.

A unique DB index cannot assert uniqueness across relations. Because
of this, we have to validate the uniqueness of a BannerInstance's
banner-image-user combination when it is saved to the DB.