add validations based on migration unique index
Merge pull request #179 from acmetech/master

add validations based on migration unique index