Ghost/core/server/models/plugins
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
..
collision.js Improved error context usage (#10669) 2019-04-09 13:00:56 +08:00
filter.js 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
has-posts.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
include-count.js 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
index.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
pagination.js 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
transaction-events.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00