created condition-notifiction relationships and db tables