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.
thrownewerrors.NonReversibleMigrationError(`Migration version ${reversibility.version} is not possible to revert! Cancelling reversion.`)
165
+
thrownewerrors.NonReversibleMigrationError(`It is not possible to revert to version ${toVersion} because migration version ${reversibility.version} is not reversible. Cancelling reversion.`)
166
166
}
167
167
168
168
letlock
@@ -227,8 +227,8 @@ function verifyReversibility (migrations, fromVersion, toVersion) {
227
227
}
228
228
229
229
if(migrationCounter!==(fromVersion-toVersion)){
230
-
thrownewerrors.NonReversibleMigrationError(`There are missing migration to perform the reversion!
231
-
Expected ${(fromVersion-toVersion)} migrations, but there is only ${migrationCounter} migrations.`)
230
+
thrownewerrors.NonReversibleMigrationError(`There are not enough migrations to perform the reversion!
231
+
Expected ${(fromVersion-toVersion)} migrations, but there are only ${migrationCounter} migrations.`)
0 commit comments