added migration for unique emails