Ghost/core/server/data
Fabien 'egg' O'Carroll b36d0cc1c4
🐛 Fixed idempotentcy of addPermissionToRole util (#13685)
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.
2021-11-01 09:27:50 +00:00
..
db Swapped to American English spellings 2021-09-23 18:36:38 +02:00
exporter Added offer_redemptions table to database 2021-10-13 17:37:39 +02:00
importer Made storage calls related to images use "images" feature 2021-10-21 20:22:45 +13:00
migrations 🐛 Fixed idempotentcy of addPermissionToRole util (#13685) 2021-11-01 09:27:50 +00:00
schema Revert "Switched AMP to be 'off' by default in all new Ghost instances" 2021-10-28 18:52:31 +02:00