Ghost/core/server/data/migrations/versions/4.9
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-add-reset-all-passwords-permission.js Moved the "Reset all passwords" permission migration to Ghost 4.9 2021-06-23 17:08:44 +02:00
02-add-benefits-table.js Added benefits table 2021-06-24 17:21:01 +01:00
03-add-products-benefits-table.js Added products_benefits table 2021-06-24 17:21:01 +01:00
04-add-member-segment-to-email-batches.js Added member segment to email batches 2021-06-30 14:56:20 +02:00
05-fix-missed-mobiledoc-url-transforms.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