0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/data
Sam Lord a5484a0fe1 Fixed transaction logic in data importer
https://github.com/TryGhost/Toolbox/issues/130

The transaction no longer commits in the promise chain, which wasn't
valid logic for a transaction, since it is commited automatically when
the promise chain resolves, and rollsback automatically when the
promise chain rejects.

This makes code which fails during the transaction error in the right
place, instead of getting stuck here. (Especially good for writing
tests).

The tests for this code can now live in the integration folder.
2021-11-16 17:09:55 +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 Fixed transaction logic in data importer 2021-11-16 17:09:55 +00:00
migrations Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
schema Changed to use different fixtures during testing 2021-11-16 14:03:42 +00:00