Ghost/ghost/data-generator/lib/importers
Daniel Lockyer 845d3cf759 Fixed generating multiple members_newsletters records
refs https://github.com/TryGhost/DevOps/issues/119

- members_newsletters needs members_subscribe_events, but it was also
  then generating `subscriptions` records and the whole thing was really
  slow
- for now, subscriptions is not a used table so we can remove use of it
- also adds support for generating more than one subscription record
  with an 80% chance of being subscribed
2023-12-07 14:44:00 +01:00
..
BenefitsImporter.js
EmailBatchesImporter.js
EmailRecipientsImporter.js
EmailsImporter.js
index.js
LabelsImporter.js
MembersClickEventsImporter.js
MembersCreatedEventsImporter.js
MembersFeedbackImporter.js
MembersImporter.js Decreased likelihood of duplicate member emails 2023-12-07 14:44:00 +01:00
MembersLabelsImporter.js
MembersLoginEventsImporter.js
MembersNewslettersImporter.js
MembersPaidSubscriptionEventsImporter.js
MembersProductsImporter.js
MembersStatusEventsImporter.js
MembersStripeCustomersImporter.js
MembersStripeCustomersSubscriptionsImporter.js
MembersSubscribeEventsImporter.js Fixed generating multiple members_newsletters records 2023-12-07 14:44:00 +01:00
MembersSubscriptionCreatedEventsImporter.js
NewslettersImporter.js
OffersImporter.js
PostsAuthorsImporter.js
PostsImporter.js
PostsProductsImporter.js
PostsTagsImporter.js
ProductsBenefitsImporter.js
ProductsImporter.js
RedirectsImporter.js
RolesUsersImporter.js
StripePricesImporter.js
StripeProductsImporter.js
SubscriptionsImporter.js
TableImporter.js Deduplicated batch insertion code 2023-12-07 14:44:00 +01:00
TagsImporter.js
UsersImporter.js
WebMentionsImporter.js