mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
🐛 Prevented unexecuted migrations from being rolled back
refs https://github.com/TryGhost/knex-migrator/issues/241 Previous to this bump if a migration was occuring across multiple versions and a migration was to error, we would incorrectly rollback migrations which had not run yet. For example - assume we are on v1.0.0 and migrating to v1.3.0, and there are migrations for v1.1.0, v1.2.0 & v1.3.0. In the case that a migration in v1.2.0 fails, we will still attempt to rollback migrations from v1.3.0. This is no longer the case, and we will only roll back migrations which have already been run.
This commit is contained in:
parent
52ee74c16a
commit
b45e514cb1
2 changed files with 5 additions and 5 deletions
|
@ -139,7 +139,7 @@
|
|||
"juice": "8.0.0",
|
||||
"keypair": "1.0.4",
|
||||
"knex": "0.21.21",
|
||||
"knex-migrator": "4.1.0",
|
||||
"knex-migrator": "4.1.1",
|
||||
"lodash": "4.17.21",
|
||||
"luxon": "2.0.2",
|
||||
"mailgun-js": "0.22.0",
|
||||
|
|
|
@ -6850,10 +6850,10 @@ klona@^2.0.3:
|
|||
resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.4.tgz#7bb1e3affb0cb8624547ef7e8f6708ea2e39dfc0"
|
||||
integrity sha512-ZRbnvdg/NxqzC7L9Uyqzf4psi1OM4Cuc+sJAkQPjO6XkQIJTNbfK2Rsmbw8fx1p2mkZdp2FZYo2+LwXYY/uwIA==
|
||||
|
||||
knex-migrator@4.1.0:
|
||||
version "4.1.0"
|
||||
resolved "https://registry.yarnpkg.com/knex-migrator/-/knex-migrator-4.1.0.tgz#8e161a9e9e193f0eb0b4e60d9865b9bbb39c0021"
|
||||
integrity sha512-wl/EuwZhKztWS4v4rMVPsfJD2SxFeNQFkeAoUY/wSThHBFGH5bTpegyVd6QYl3f8EGa0SIy5LWseHZ1c63EnWA==
|
||||
knex-migrator@4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/knex-migrator/-/knex-migrator-4.1.1.tgz#6415e96fc5bec1bc2aaa3be43e2c4a5ff66a967f"
|
||||
integrity sha512-OgFDKCZT8Sx46HDhvEmc4EgxfM5AzwzjYbEUk+cJdtOW/ohxoIXa4E2eojvZ1SIVUr9C6GEtsAd0tZsF4bpNAg==
|
||||
dependencies:
|
||||
bluebird "3.7.2"
|
||||
commander "5.1.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue