mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
b36d0cc1c4
refs https://github.com/TryGhost/Team/issues/1178 The "up" migration that this util generates correctly throws if the pre-requisite data cannot be found in the database. The "down" migration however was incorrectly mirroring this behaviour of throwing - which meant that it wasn't idempotent, as it does not require a permission or role to existing if it wants to move relations between them. |
||
---|---|---|
.. | ||
hooks | ||
init | ||
versions | ||
utils.js |