-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Migrations] Support for async upgrade functions
The config updater now detects if the upgrade/downgrade functions are regular functions or coroutines and executes them the right way, reducing the amount of boilerplate required. We now initialize the global variables to access MongoDB directly from the main script of the config updater.
- Loading branch information
1 parent
56d97a2
commit f2193ec
Showing
4 changed files
with
35 additions
and
20 deletions.
There are no files selected for viewing
Empty file.
Empty file.
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
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