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.
-[Creating a new migration](#creating-a-new-migration)
@@ -118,10 +118,10 @@ Executes a forward migration to a specific version, or to the latest version if
118
118
*`toVersion` (int, mandatory) - version to which the repo should be migrated.
119
119
*`options` (object, optional) - options for the migration
120
120
*`options.ignoreLock` (bool, optional) - if true will not lock the repo when applying migrations. Use with caution.
121
-
*`options.onProgress` (function, optional) - callback that is called after finishing execution of each migration to report progress.
121
+
*`options.onProgress` (function, optional) - callback that is called during each migration to report progress.
122
122
*`options.isDryRun` (bool, optional) - flag that indicates if it is a dry run that should give the same output as running a migration but without making any actual changes.
@@ -141,7 +141,7 @@ Executes backward migration to a specific version.
141
141
*`toVersion` (int, mandatory) - version to which the repo should be reverted to.
142
142
*`options` (object, optional) - options for the reversion
143
143
*`options.ignoreLock` (bool, optional) - if true will not lock the repo when applying migrations. Use with caution.
144
-
*`options.onProgress` (function, optional) - callback that is called after finishing execution of each migration to report progress.
144
+
*`options.onProgress` (function, optional) - callback that is called during each migration to report progress.
145
145
*`options.isDryRun` (bool, optional) - flag that indicates if it is a dry run that should give the same output as running a migration but without making any actual changes.
log(`An exception was raised during execution of migration. Setting the repo's version to last successfully migrated version: ${lastSuccessfullyMigratedVersion}`)
0 commit comments