Ghost/core/server/data/schema
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
..
clients Deleted unused pg.js module (#10928) 2019-07-22 12:11:19 +08:00
fixtures 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
checks.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
commands.js Fixed log usage for columnMigration command 2019-09-13 19:54:18 +05:30
default-settings.json Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00
index.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
schema.js 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00