Ghost/core/server/api/v2/utils
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
..
serializers 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
validators Refactored oembed controller data validation 2019-08-01 17:13:12 +05:30
index.js Added comments for Ghost API 2019-05-06 14:49:25 +02:00
permissions.js Added comments for Ghost API 2019-05-06 14:49:25 +02:00