0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/regression
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
..
api 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
apps/subscribers
exporter
importer Removed all clients and client_trusted_domains related code 2019-09-12 15:09:49 +01:00
migrations Removed all clients and client_trusted_domains related code 2019-09-12 15:09:49 +01:00
models 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
site 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
update-check Fixed regression test 2019-05-02 21:04:16 +02:00
README.md

Regression Tests

This folder should contain packages which we test in a cron job once per day. These tests should ensure that we don't break Ghost.

The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.