haystack/eyebrowse-server — pull request #25 by amyxzhang (2013-12-10 02:49:12+00:00)
Title: 3 no duplicate wblistitems

fixes issue #3.

1) set uniqueness constraint on FilterListItem to (user, url, type)
2) add script to run in staging and prod to remove duplicates from the db
3) add null and blank constraints
4) set URLField max to 500 from 2000 to meet the db-level key max size (set for our uniqueness constraint).