Ghost/core/server/data/migrations/versions
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
..
1.3 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.4 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.5 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.7 Removed all clients and client_trusted_domains related code 2019-09-12 15:09:49 +01:00
1.9 Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
1.13 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.18 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.19 Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
1.20 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.21 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.22 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
1.25 🐛 Fixed 1.25 migration for html field being null 2018-07-25 21:54:44 +02:00
2.0 Changed casper.ghost.org to static.ghost.org references (#10109) 2018-11-07 15:50:38 +01:00
2.2 Fixed "Unable to update nested relation" errors when rolling back migrations 2019-08-20 11:20:52 +01:00
2.3 Added edit webhook route to v2 Admin API (#10033) 2018-10-19 18:35:55 +01:00
2.6 Added migration for webhook permissions_roles fixtures (#10153) 2018-11-13 14:35:37 +05:30
2.8 Added members related db changes and models 2018-12-11 11:53:55 +07:00
2.13 💡Reverted "empty-string to NULL" db migration (#10430) 2019-01-29 14:41:04 +00:00
2.14 Added permissions for actions including migration 2019-02-06 18:59:09 +01:00
2.15 Added migration to insert builtin Zapier integration (#10500) 2019-02-15 14:48:21 +00:00
2.16 Removed 2.16 member permission migration 2019-05-02 17:31:38 +02:00
2.17 Checked null & undefined in settings migration (#10609) 2019-03-13 23:35:23 +01:00
2.18 Enhanced 2.18 detection (#10610) 2019-03-13 23:40:50 +01:00
2.21 Added notification access persmission for users of Editor role 2019-04-18 13:02:23 +02:00
2.22 Copied member permission migration from 2.16->2.22 2019-05-02 17:31:38 +02:00
2.27 Fixed "Unable to update nested relation" errors when rolling back migrations 2019-08-20 11:20:52 +01:00
2.28 Fixed "Unable to update nested relation" errors when rolling back migrations 2019-08-20 11:20:52 +01:00
2.29 No-op'd post.page->post.type migrations, added cleanup post.type->post.page migrations 2019-08-19 12:02:14 +01:00
2.31 Removed name and password columns from members table 2019-09-05 11:14:50 +08:00
3.0 Fixed migration order 2019-09-16 14:22:01 +05:30
3.0.0 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00