0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test/unit/data
Kevin Ansfield e57e19ec31
🏗 Migrated posts.page column to posts.type (#11111)
refs https://github.com/TryGhost/Ghost/issues/10922

- adds migrations to...
  1. add `post.type` column
  2. populate `post.type` column based on `post.page` value
  3. drop `post.page` column
- updates all code paths to work with `post.type` in place of `post.page`
- adds `nql-map-key-values` transformer for mapping `page`->`type` in `filter` params when using the v2 API
- modifies importer to handle `post.page`->`post.type` transformation when importing older export files
2019-09-16 11:51:54 +01:00
..
db Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
exporter 🏗 Extracted post metadata in new post_meta table (#11102) 2019-09-16 14:15:55 +05:30
importer 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
meta 🔥 Removed V1 code/references in frontend helpers/meta layers (#11080) 2019-09-10 11:37:04 +02:00
schema 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
validation 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
xml/sitemap Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00