add unique indexes

to keep things clean
Merge pull request #59 from ccutrer/uniqueindexes

add unique indexes