Ghost/core/server/data/migrations/versions/4.3
Kevin Ansfield 10b6fbfc82
🐛 Fixed Ghost 4.3.0 migration that put all sites into "allow free members signup" (#12904)
refs https://github.com/TryGhost/Team/issues/634

- the migration moving `members_allow_free_signup` to `members_signup_access` was expecting a raw boolean setting value but the actual value is a string so always evaluated as truthy making all sites look like they had "allow free members signup" toggled on when generating the new setting's value
- updated to check for an explicit string value in `up` and set an explicit string value in `down`
2021-04-27 15:37:41 +01:00
..
01-add-products-table.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
02-add-members-products-table.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
03-add-default-product.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
04-attach-members-to-product.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
05-add-stripe-products-table.js Added cascade delete for stripe products and prices (#12891) 2021-04-20 15:24:52 +05:30
06-add-stripe-prices-table.js Added cascade delete for stripe products and prices (#12891) 2021-04-20 15:24:52 +05:30
07-add-products-permissions.js Added permissions for the Products resource (#12875) 2021-04-15 14:34:45 +01:00
08-migrate-members-signup-setting.js 🐛 Fixed Ghost 4.3.0 migration that put all sites into "allow free members signup" (#12904) 2021-04-27 15:37:41 +01:00
09-add-price-id-column-to-subscriptions-table.js Added stripe_price_id column to subscriptions table (#12881) 2021-04-20 16:37:59 +05:30
10-populate-stripe-price-id-in-subscriptions.js Added stripe_price_id column to subscriptions table (#12881) 2021-04-20 16:37:59 +05:30