convert database to sqlite