Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added products and Stripe data to exports and imports #14873

Merged
merged 16 commits into from May 20, 2022

Conversation

matthanley
Copy link
Contributor

  • The migration path from 4.x on SQLite to 5.0 on MySQL requires an export/import
  • Exports don't include the Stripe info required to map members to tiers correctly on import. This change fixes that.

@codecov
Copy link

codecov bot commented May 20, 2022

Codecov Report

Merging #14873 (5115692) into main (d6d6841) will decrease coverage by 0.25%.
The diff coverage is 20.55%.

@@            Coverage Diff             @@
##             main   #14873      +/-   ##
==========================================
- Coverage   61.96%   61.70%   -0.26%     
==========================================
  Files         568      571       +3     
  Lines       45984    46253     +269     
  Branches     4190     4192       +2     
==========================================
+ Hits        28495    28542      +47     
- Misses      17445    17667     +222     
  Partials       44       44              
Impacted Files Coverage Δ
...rver/data/importer/importers/data/data-importer.js 16.08% <8.33%> (-1.61%) ⬇️
core/server/data/importer/importers/data/base.js 29.97% <12.50%> (-0.20%) ⬇️
...re/server/data/importer/importers/data/products.js 16.17% <16.17%> (ø)
...rver/data/importer/importers/data/stripe-prices.js 18.64% <18.64%> (ø)
...er/data/importer/importers/data/stripe-products.js 21.31% <21.31%> (ø)
...server/data/importer/importers/data/newsletters.js 75.55% <37.50%> (-13.64%) ⬇️
core/server/data/importer/importers/data/posts.js 42.20% <39.47%> (-2.24%) ⬇️
...re/server/data/importer/importers/data/settings.js 71.89% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6d6841...5115692. Read the comment docs.

@ErisDS ErisDS marked this pull request as ready for review May 20, 2022 20:09
@matthanley matthanley merged commit eae0a6a into TryGhost:main May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants