Added unique constraint to ORM mapping of NotificationKey for key field. Adapted changes in validation file