Fixed definition of Notifications table in database to disallow null datetimes.