Added migration of the notify_email field.

The old function was a stored char.