Ghost/core/server/data/migrations/versions
Rishabh Garg 744e5e57a0
Fixed missing portal product data (#14115)
closes  https://github.com/TryGhost/Team/issues/1311

For some sites, the `portal_products` array was created without any value and due to a possible bug in older version of Ghost, it also didn't get filled on Stripe connect with default product. This causes a side-effect of sites not showing the prices in Portal when tiers beta is enabled or is out as GA. This change populates the missing product data in `portal_product` for sites that have a single tier (haven't enabled tiers beta), as they right now don't have an option to hide the tier.
2022-02-04 19:57:38 +05:30
..
1.3 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.4 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.5 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.7 Removed all clients and client_trusted_domains related code 2019-09-12 15:09:49 +01:00
1.9 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
1.13 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.18 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
1.19 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
1.20 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
1.21 Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
1.22 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
1.25 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
2.0 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.2 Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
2.3 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
2.6 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.8 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.13 💡Reverted "empty-string to NULL" db migration (#10430) 2019-01-29 14:41:04 +00:00
2.14 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.15 Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
2.16 Removed 2.16 member permission migration 2019-05-02 17:31:38 +02:00
2.17 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.18 Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
2.21 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.22 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.27 Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
2.28 Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
2.29 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.31 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
2.32 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
2.33 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
2.34 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.35 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
2.37 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.0 Removed use of deprecated new Error() syntax 2021-07-14 12:16:44 +04:00
3.1 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
3.2 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
3.6 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
3.7 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.8 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
3.9 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.11 Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
3.12 Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
3.18 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.19 Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
3.22 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
3.23 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
3.24 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.25 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.26 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.29 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
3.30 Granted Admin users ability to impersonate member (#12132) 2020-08-18 14:17:56 +05:30
3.32 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.33 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
3.34 Added tokens table to the database 2020-09-17 16:08:35 +01:00
3.35 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
3.36 Added snippets permissions migration and fixtures (#12283) 2020-10-16 12:53:09 +01:00
3.37 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.38 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
3.39 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.40 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
3.41 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.0 Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
4.1 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.2 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.3 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.4 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.5 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.6 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.7 Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
4.8 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.9 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.11 Added email disabling flag to settings records 2021-07-29 20:30:30 +12:00
4.12 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.13 Gave Administrators permission to connect to Stripe (#13228) 2021-08-26 11:00:40 +01:00
4.14 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.15 Added temporary database table for analytic events (#13312) 2021-09-17 11:15:21 +02:00
4.16 Moved theme settings permissions migration to correct Ghost version 2021-09-27 10:56:23 +01:00
4.17 Added offers table (#13381) 2021-10-01 12:18:33 +02:00
4.19 Prefixed migration with 01 2021-10-13 17:37:39 +02:00
4.20 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.22 Moved launchComplete user setting as global editor setting (#13703) 2021-11-04 18:03:51 +05:30
4.23 Added lint rules for migrations 2021-11-29 16:21:43 +00:00
4.33 Added active column to products table (#14016) 2022-01-20 15:50:18 +02:00
4.34 Added welcome_page_url column to products table 2022-01-26 11:44:40 +02:00
4.35 Fixed missing portal product data (#14115) 2022-02-04 19:57:38 +05:30