migrate db to latest version works