If it is not specified when calling origin_visit_add, it defaults to the origin's type.
Note: I did not test the migration script.
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/454/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tox/454/console
Just a couple of questions.
So we keep the type on the origin for now, right?
why did you drop the db and cur parameter?
My understanding was to stay within the same transaction, we need to pass those along.