changes at migrate_vim_db to use database version as a parameter and not use openvim...