added uniqueness at the db level