0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/test/unit/models
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
..
base 🔥 Removed v0.1 leftover code in model layer (#11107) 2019-09-12 17:39:16 +02:00
plugins Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
api-key_spec.js Shortened admin key length (#10418) 2019-01-24 13:46:33 +00:00
integration_spec.js Ensured Admin API cannot fetch internal integrations (#10501) 2019-07-24 11:52:55 +02:00
invite_spec.js Removed unit tests who use the database (#10407) 2019-01-22 13:36:30 +01:00
permission_spec.js Removed unit tests who use the database (#10407) 2019-01-22 13:36:30 +01:00
post_spec.js 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
session_spec.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
settings_spec.js Updated tests eslint config to use eslint-plugin-ghost@0.5.0 2019-08-19 13:38:35 +01:00
tag_spec.js Removed unit tests who use the database (#10407) 2019-01-22 13:36:30 +01:00
user_spec.js 🐛 Disallowed locked/suspended users from being made owner via the API (#10647) 2019-04-16 10:30:29 +01:00