[pubsweet-base-model] save method running in its own trasaction leads to issues when specific logic exists in $afterInsert
When a model has logic for creating a depending entity inside of its $afterInsert method and that entity has a constraint which declares as foreign key the id of the parent model then a violation of that constraint occurs. This happens as the creation of the parent model is done on a different transaction than the creation of its depending entities.
e.g. https://gitlab.coko.foundation/editoria/editoria/blob/master/packages/data-model/src/book/book.js#L85