mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
d59909941c
refs https://github.com/TryGhost/Toolbox/issues/464 - due to a bug with the content importer, importing a JSON file where the `products` do not contain price info will store null values in the table instead of the defaults - this ends up causing further issues because we're not populating the table for paid products - this commit is a copy of the 5.19 migration `2022-09-02-20-52-backfill-new-product-columns.js`, but adds a check for a null `t.currency`, which combined with the `t.type === paid`, should identify the rows we want to update |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
package.json |