0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Migrated members_{month,year}ly_price_id settings

refs https://github.com/TryGhost/Team/issues/711

Since we need to support multiple products, which will each have a
monthly and yearly price, we are moving away from storing these ids in
settings, and instead in a column on the products table. The migration
depends on the settings being prepopulated, which is done outside of
knex-migrator, in members-api, so this migration must also be done there.
This commit is contained in:
Fabien O'Carroll 2021-06-02 09:59:52 +01:00
parent a87410ef28
commit c066dd157a
2 changed files with 5 additions and 5 deletions

View file

@ -59,7 +59,7 @@
"@tryghost/kg-mobiledoc-html-renderer": "4.0.0",
"@tryghost/limit-service": "0.6.0",
"@tryghost/magic-link": "1.0.3",
"@tryghost/members-api": "1.11.1",
"@tryghost/members-api": "1.12.0",
"@tryghost/members-csv": "1.0.0",
"@tryghost/members-ssr": "1.0.3",
"@tryghost/mw-session-from-token": "0.1.20",

View file

@ -744,10 +744,10 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.11.1":
version "1.11.1"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.11.1.tgz#63ff347f2fcce847023b3de7cd9b04a46e05fd5c"
integrity sha512-DCrWFSVHxNABBiUw5th277QyeyQSpQ3e7VRG0+/4P5bV68nOEsRdEhAEbORK4JX5MZ4A2foIEELDqrAAsLc1dA==
"@tryghost/members-api@1.12.0":
version "1.12.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.12.0.tgz#7d5de203338934e74f67a3f1e8e8c192009a7e05"
integrity sha512-JUWeol77zICe+tqIwJAIE31upfwmY+r428dy4PNzNxcb75Q/YsqAKG+5+6AQnAH3q3RS/mPSTrkreTqnivf5OA==
dependencies:
"@tryghost/errors" "^0.2.9"
"@tryghost/magic-link" "^1.0.3"