fixed db issues
Merge branch 'master' of https://github.com/CDandu16/Diagnode