Commit 046f3b91 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Restore functionality of insertMasterDocs

Now the tests pass again, but crucially `insertMasterDocs` runs in a
single atomic DB update, meaning we can rollback cleanly in case
disaster strikes.
parent 47aa6cf9
Pipeline #7647 passed with stages
in 44 minutes and 12 seconds