add email unique sql constraint