Ghost/core/server/data/migrations
Fabien O'Carroll 484e0c1e05 Refactored migration to run faster
no-issue

We're seeing problems with large sites taking a long time to run this
migration. The aim here is to refactor it so that it is faster to run.

We've achieved that by reducing the number of database queries needed,
firstly by selecting members with a join to their events (rather than
fetching the events on a member-by-member basis) we also batch the
necessary updates to further reduce db query time.
2021-09-17 16:33:14 +01:00
..
hooks Removed settings populateDefaults pre-migration 2021-02-10 10:34:08 +13:00
init Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
versions Refactored migration to run faster 2021-09-17 16:33:14 +01:00
utils.js Removed bluebird import from migration utils 2021-08-25 23:30:14 +02:00