Add migration to create pivot_origin and pivot_notification tables affinitic refs #5830