Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor users migrations code and some new tests
The main purpose of the refactoring is to prepare the code for adding migrations for auth records (current implementation only allows migrations of users and groups). Also modify migration tests for the same reason. Also a couple of new tests are added by this change for already existing migrations: - upgrade of groups roles test - add uuid for local users test Change-Id: I57cdc00a09f0dfff7617f4564ce7357d22a884ad Reviewed-on: https://review.couchbase.org/c/ns_server/+/175848 Well-Formed: Build Bot <build@couchbase.com> Tested-by: Timofey Barmin <timofey.barmin@couchbase.com> Reviewed-by: Artem Stemkovski <artem@couchbase.com>
- Loading branch information
1 parent
61bc9ad
commit 6f676f1
Showing
1 changed file
with
63 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters