Revert "Unable to use database other than sqlite"

This reverts commit 5944d8596dd8b68ac3d552fcc7602f2e75f9987b.