fix possible database corruption https://www.sqlite.org/releaselog/3_19_3.html Signed-off-by: Etienne Champetier <echampetier@anevia.com>