Ngrams Change insert causes Database error
This insert https://gitlab.iscpif.fr/gargantext/haskell-gargantext/blob/dev/src/Gargantext/Core/NodeStory.hs#L423 causes an error if the NodeId has been deleted. It can happen sometimes during collaborative work and teaching.
Need to add the condition: if node_id exists in nodes table But the postgres-simple multiple rows does not easily enable such query