Ghost/core/server/data/migrations/versions/4.0
Kevin Ansfield 05b317af9d
🐛 Fixed incorrectly stored URLs after migration from 3.x to 4.6.1-4.8.4 (#13109)
refs https://github.com/TryGhost/Team/issues/853

A refactor of `urlUtils` usage in 4.6.1 left a buggy 4.0 migration that did not transform URLs inside of mobiledoc cards. Anyone upgrading from 3.x to 4.6.1-4.8.4 would end up with inconsistent URL formats and potentially broken images.

- fixed 4.0 migration by passing our mobiledoc cards list in when transforming mobiledoc urls
- added a new migration that re-applies the missed URL transforms and content re-generation for any site that did a 3.x upgrade to a buggy 4.x version
2021-07-06 10:15:00 +01:00
..
01-update-mobiledoc.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
02-add-status-column-to-members.js Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
03-populate-status-column-for-members.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
04-drop-apps-related-tables.js 🏗 Dropped apps related tables 2021-02-03 12:20:08 +13:00
05-add-members-subscribe-events-table.js Added members_subscribe_events table 2021-02-05 16:02:08 +00:00
06-populate-members-subscribe-events-table.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
07-alter-unique-constraint-for-posts-slug.js 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00
08-add-members-login-events-table.js Unified migration logging styles 2021-02-18 17:35:32 +00:00
09-add-members-email-change-events-table.js Updated members_email_change_events to store previous email (#12641) 2021-02-12 16:15:31 +00:00
10-add-members-status-events-table.js Updated members_status_events table (#12647) 2021-02-16 10:38:36 +00:00
11-add-members-paid-subscription-events-table.js Updated members_paid_subscription_events table (#12636) 2021-02-11 12:45:18 +00:00
12-delete-apps-related-settings-keys.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
13-add-members-payment-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
14-remove-orphaned-stripe-records.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
15-add-frontmatter-column-to-meta.js Added the frontmatter column to meta 2021-02-12 15:31:04 +01:00
16-refactor-slack-setting.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
17-populate-members-status-events-table.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
18-transform-urls-absolute-to-transform-ready.js 🐛 Fixed incorrectly stored URLs after migration from 3.x to 4.6.1-4.8.4 (#13109) 2021-07-06 10:15:00 +01:00
19-remove-labs-members-setting.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
20-refactor-unsplash-setting.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
21-sanitize-email-batches-provider-id.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
22-solve-orphaned-webhooks.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
23-regenerate-posts-html.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
24-add-missing-email-permissions.js 🐛 Fixed email permissions for all roles 2021-03-01 13:17:43 +00:00
25-populate-members-paid-subscription-events-table.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
26-add-cascade-on-delete.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
27-add-primary-key-brute-migrations-lock.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
28-add-webhook-intergrations-foreign-key.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
29-fix-foreign-key-for-members-stripe-customers-subscriptions.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
30-set-default-accent-color.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00