revert to where db was not deleted

dsadfa
Revert "revert to where db was not deleted"

This reverts commit db869dbc402eb87ee3ea60b1b5ed712ccdeafc41.