Ghost/core/server/data/migrations/versions/2.27
Kevin Ansfield d96be4907e
Fixed relative canonical_url values not being stored as root-relative (#10989)
no issue

- we try to store all urls as relative paths where possible in Ghost so that the `config.url` value can be changed
- all relative paths are stored as root-relative except for the `post.canonical_url` field which was storing subdirectory-relative paths
- adds a migration to put the subdirectory prefix onto any relative canonical_url paths
- updates the canonical_url input serialiser to keep the subdirectory rather than stripping it to match all other url fields
2019-08-05 13:56:28 +01:00
..
1-insert-ghost-db-backup-role.js Created DB Backup integration (#10974) 2019-08-02 17:28:02 +08:00
2-insert-db-backup-integration.js Created DB Backup integration (#10974) 2019-08-02 17:28:02 +08:00
3-add-subdirectory-to-relative-canonical-urls.js Fixed relative canonical_url values not being stored as root-relative (#10989) 2019-08-05 13:56:28 +01:00