Fix dropping db.
Merge pull request #1 from pazur/patch-1

Fix dropping db.