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.
189
191
190
192
**Arguments:**
191
193
192
194
*`path` (string, mandatory) - path to the repo to be migrated
193
195
*`toVersion` (int, optional) - version to which the repo should be migrated to. If left out the version of latest migration is used.
196
+
*`ignoreLock` (bool, optional) - if true won't lock the repo for applying the migrations. Use with caution.
197
+
*`options` (object, optional) - options that are passed to migrations, that use them to correctly construct datastore. Options are same like for IPFSRepo.
194
198
*`progressCb` (function, optional) - callback that is called after finishing execution of each migration to report progress.
195
199
*`isDryRun` (bool, optional) - flag that indicates if it is a dry run that should imitate running migration without actually any change.
196
200
@@ -203,14 +207,16 @@ Signature of the progress callback.
203
207
*`counter` (int) - current number of migration in the planned migrations streak.
204
208
*`totalMigrations` (int) - total count of migrations that are planned to be run.
*`path` (string, mandatory) - path to the repo to be reverted
213
217
*`toVersion` (int, mandatory) - version to which the repo should be reverted to.
218
+
*`ignoreLock` (bool, optional) - if true won't lock the repo for applying the migrations. Use with caution.
219
+
*`options` (object, optional) - options that are passed to migrations, that use them to correctly construct datastore. Options are same like for IPFSRepo.
214
220
*`progressCb` (function, optional) - callback that is called after finishing execution of each migration to report progress.
215
221
*`isDryRun` (bool, optional) - flag that indicates if it is a dry run that should imitate running migration without actually any change.
0 commit comments