0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/data/migrations
Kevin Ansfield cabf718ae1
Added migration to transform all post content urls from absolute to relative (#12658)
refs https://github.com/TryGhost/Team/issues/467
refs https://github.com/TryGhost/Team/issues/221

- we added robust url transformation in Ghost 3.0 which ensures newly created or edited content is stored with relative URLs in the database
- this migration loops over all posts (and posts_meta) in the database performing the absolute->relative transformation to normalise data for old posts
2021-02-16 19:00:04 +00:00
..
hooks Removed settings populateDefaults pre-migration 2021-02-10 10:34:08 +13:00
init
versions Added migration to transform all post content urls from absolute to relative (#12658) 2021-02-16 19:00:04 +00:00
utils.js Updated addTable util to take optional tableSpec 2021-02-05 16:02:08 +00:00