[Migrate] remove unused CouchDB related code