[Migration] remove unused CouchDB related code