Add a constraint that forces a time entry record to either have `duration` defined, or `start` and `end`, but all 3 cannot be NULL.