Revert "upgrade db automatically if db is sqlite"

This reverts commit 2e6c234857be17a66361848cfbfa4b5218b09be4.