lshift/diffa — pull request #172 by 0x6e6562 (2012-05-30 12:00:15+00:00)
Title: Enforce unique constraint on entity, pair and domains

We need a to make sure that the diffs and pending_diffs do not have duplicate entries for a pair scoped entity id.