Open origin_visit api in storage + Update occurrence_add api
Closed
requested to merge generated-differential-D101-source into generated-differential-D101-target
- Update occurrence_add api entry point to properly deal with origin_visit (#540 (closed))
- Add origin_visit api entry points to create/update origin_visit (#538 (closed))
- sql/upgrades/075: 074→075 - Add status info to origin_visit (#534 (closed))
Migrated from D101 (view on Phabricator)
Merge request reports
Activity
mentioned in commit f14c4bea
For consistency with how other object additions are handled, I think we should add a
visit
column to theoccurrence_history
temporary table, and use that to populate the "visit" object, rather than pass a new argument tooccurrence_add
.Case in point, one of the two new arguments is not being used currently (the origin_id is pulled from the temporary table).
We can revisit this later when we'll have nailed down the so-called snapshot objects, but for now I think consistency trumps any future goals.
@olasd Right! Thanks.
Merged in rDSTOf14c4bea
Please register or sign in to reply