You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
Executes forward migration to specific version or if not specified to the latest version.
210
210
@@ -215,10 +215,10 @@ Executes forward migration to specific version or if not specified to the latest
215
215
*`options.toVersion` (int, optional) - version to which the repo should be migrated to. If left out the version of latest migration is used.
216
216
*`options.ignoreLock` (bool, optional) - if true won't lock the repo for applying the migrations. Use with caution.
217
217
*`options.repoOptions` (object, optional) - options that are passed to migrations, that use them to correctly construct datastore. Options are same like for IPFSRepo.
218
-
*`options.progressCb` (function, optional) - callback that is called after finishing execution of each migration to report progress.
218
+
*`options.onProgress` (function, optional) - callback that is called after finishing execution of each migration to report progress.
219
219
*`options.isDryRun` (bool, optional) - flag that indicates if it is a dry run that should imitate running migration without actually any change.
@@ -238,7 +238,7 @@ Executes backward migration to specific version.
238
238
*`options` (object, optional) - options for the reversion
239
239
*`options.ignoreLock` (bool, optional) - if true won't lock the repo for applying the migrations. Use with caution.
240
240
*`options.options` (object, optional) - options that are passed to migrations, that use them to correctly construct datastore. Options are same like for IPFSRepo.
241
-
*`options.progressCb` (function, optional) - callback that is called after finishing execution of each migration to report progress.
241
+
*`options.onProgress` (function, optional) - callback that is called after finishing execution of each migration to report progress.
242
242
*`options.isDryRun` (bool, optional) - flag that indicates if it is a dry run that should imitate running migration without actually any change.
* @param {int?} options.toVersion - Version to which the repo should be migrated, if undefined repo will be migrated to the latest version.
42
42
* @param {boolean?} options.ignoreLock - Won't lock the repo for applying the migrations. Use with caution.
43
43
* @param {object?} options.repoOptions - Options that are passed to migrations, that can use them to correctly construct datastore. Options are same like for IPFSRepo.
44
-
* @param {function?} options.progressCb - Callback which will be called after each executed migration to report progress
44
+
* @param {function?} options.onProgress - Callback which will be called after each executed migration to report progress
45
45
* @param {boolean?} options.isDryRun - Allows to simulate the execution of the migrations without any effect.
46
46
* @param {array?} options.migrations - Array of migrations to migrate. If undefined, the bundled migrations are used. Mainly for testing purpose.
* @param {int} toVersion - Version to which the repo will be reverted.
120
120
* @param {Object} options - Options for the reversion
121
-
* @param {function?} options.progressCb - Callback which will be called after each reverted migration to report progress
121
+
* @param {function?} options.onProgress - Callback which will be called after each reverted migration to report progress
122
122
* @param {object?} options.repoOptions - Options that are passed to migrations, that can use them to correctly construct datastore. Options are same like for IPFSRepo.
123
-
* @param {boolean?} options.isDryRun - Allows to simulate the execution of the reversion without any effects. Make sense to utilize progressCb with this argument.
123
+
* @param {boolean?} options.isDryRun - Allows to simulate the execution of the reversion without any effects. Make sense to utilize onProgress with this argument.
124
124
* @param {boolean?} options.ignoreLock - Won't lock the repo for reverting the migrations. Use with caution.
125
125
* @param {array?} options.migrations - Array of migrations to migrate. If undefined, the bundled migrations are used. Mainly for testing purpose.
0 commit comments