RavenDB-1138 Upgrade one database at a time