mirror of
https://github.com/suitenumerique/docs.git
synced 2026-10-17 05:35:34 +02:00
When 2 docs are created almost at the same time,
the second one will fail because the first one.
We get a unicity error on the path key already
used ("impress_document_path_key").
To fix this issue, we will lock the table the
time to create the document, the next query will
wait for the lock to be released.