Ghost/core/server/data/migrations/versions/4.0
Fabien O'Carroll 7785fb6dc5 Refactored usage of pre v4 "unsplash" setting format
refs https://github.com/TryGhost/Ghost/issues/10318

- API changes introduced:

canary/v4 Admin API
GET /settings/ (browse)

+ "unsplash" present in response as boolean value

GET /settings/:settingName (read)

+ "unsplash" present in response as boolean value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts ONLY  boolean format

v3  Admin API
GET /settings/ (browse)

+ "unsplash" present in response with object value

GET /settings/:settingName (read)

+ "unsplash" present in response with object value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts either boolean or object formats

v2 Admin API
GET /settings/ (browse)

+ "unsplash" present in response with object value

GET /settings/:settingName (read)

+ "unsplash" present in response with object value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts object format
2021-02-18 10:55:59 +13:00
..
01-update-mobiledoc.js Renamed migration to fill 01 2021-02-16 18:19:09 +00:00
02-add-status-column-to-members.js Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
03-populate-status-column-for-members.js Updated status population to handle comped status (#12651) 2021-02-16 10:37:06 +00:00
04-drop-apps-related-tables.js 🏗 Dropped apps related tables 2021-02-03 12:20:08 +13:00
05-add-members-subscribe-events-table.js Added members_subscribe_events table 2021-02-05 16:02:08 +00:00
06-populate-members-subscribe-events-table.js Populated members_subscribe_events table 2021-02-05 16:02:08 +00:00
07-alter-unique-constraint-for-posts-slug.js 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00
08-add-members-login-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
09-add-members-email-change-events-table.js Updated members_email_change_events to store previous email (#12641) 2021-02-12 16:15:31 +00:00
10-add-members-status-events-table.js Updated members_status_events table (#12647) 2021-02-16 10:38:36 +00:00
11-add-members-paid-subscription-events-table.js Updated members_paid_subscription_events table (#12636) 2021-02-11 12:45:18 +00:00
12-delete-apps-related-settings-keys.js Renamed duplicate migration 2021-02-11 11:02:18 +00:00
13-add-members-payment-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
14-populate-members-paid-subscription-events-table.js Populated members_paid_subscription_events table 2021-02-12 13:55:14 +00:00
15-add-frontmatter-column-to-meta.js Added the frontmatter column to meta 2021-02-12 15:31:04 +01:00
16-refactor-slack-setting.js Fixed slack setting migration to follow idempotance rule 2021-02-18 10:55:32 +13:00
17-populate-members-status-events-table.js Updated members_status_events table (#12647) 2021-02-16 10:38:36 +00:00
17-refactor-unsplash-setting.js Refactored usage of pre v4 "unsplash" setting format 2021-02-18 10:55:59 +13:00
18-transform-posts-absolute-to-relative.js Added migration to transform all post content urls from absolute to relative (#12658) 2021-02-16 19:00:04 +00:00
19-remove-labs-members-setting.js 🏗 Removed labs from setting 2021-02-17 19:55:16 +13:00
20-refactor-unsplash-setting.js 🏗 Updated "unsplash" setting handling to match updated format 2021-02-18 10:55:59 +13:00