Restore sqlite support in databaseconnection