added db support for https://github.com/globaleaks/GlobaLeaks/issues/885