Ghost/test/unit/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 Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
exporter Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
importer Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
migrations 🐛 Fixed idempotentcy of addPermissionToRole util (#13685) 2021-11-01 09:27:50 +00:00
schema Removed NOT NULL constraint from portal_title (#13659) 2021-10-22 14:14:49 +02:00