HomeSoftware Heritage

Update occurrence_add api entry point to properly deal with origin_visit

Authored by ardumont on Aug 19 2016, 5:18 PM.

Description

Update occurrence_add api entry point to properly deal with origin_visit

The 'date' column in occurrence data is no longer relevant.
This was used to join information on origin_visit.

Now, occurrences entries must be enriched with the key 'visit'.
This key, with its dual 'origin' key pair defines clearly which visit is
currently being done.

This closely matches our origin_visit model.

Closes T540
Closes D101