0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/data/migrations/versions
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
..
1.3 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.4 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.5 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.7
1.9
1.13 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.18 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
1.19
1.20 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
1.21 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
1.22 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
1.25 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.0 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.2 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.3 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
2.6
2.8 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.13
2.14 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.15 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.16
2.17 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.18 Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
2.21
2.22
2.27 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.28 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.29 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.31
2.32
2.33 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.34 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.35
2.37 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.0 Removed use of deprecated new Error() syntax 2021-07-14 12:16:44 +04:00
3.1 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.2
3.6 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
3.7 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.8
3.9
3.11 Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
3.12 Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
3.18
3.19 Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
3.22 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.23 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.24 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.25 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.26 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.29 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.30
3.32 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.33 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
3.34
3.35
3.36
3.37 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.38 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.39 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.40 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.41 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.0 Removed use of deprecated new Error() syntax 2021-07-19 21:31:31 +12:00
4.1 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.2 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.3 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.4 Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
4.5 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.6 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.7 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.8 Moved the "Reset all passwords" permission migration to Ghost 4.9 2021-06-23 17:08:44 +02:00
4.9 Migrated members_status_events for comped members 2021-07-06 12:00:03 +01:00
4.11 Added email disabling flag to settings records 2021-07-29 20:30:30 +12:00
4.12 Fixed existing members status properties 2021-08-13 11:39:19 +02:00
4.13 Gave Administrators permission to connect to Stripe (#13228) 2021-08-26 11:00:40 +01:00
4.14 Refactored migration to run faster 2021-09-17 16:33:14 +01:00
4.15 Added temporary database table for analytic events (#13312) 2021-09-17 11:15:21 +02:00