Add unique constraint
Refactor code
Merge pull request #12 from tMizuhara/feat/AddUniqueConstraint

Add unique constraint