Added products and Stripe data to exports

- we need to ensure we have this data when exporting so that we can import it later
This commit is contained in:
Matt Hanley 2022-05-20 11:28:10 +01:00 committed by Hannah Wolfe
parent e8a986c61b
commit f64577b4ce
No known key found for this signature in database
GPG Key ID: AB586C3B5AE5C037

View File

@ -10,7 +10,6 @@ const BACKUP_TABLES = [
'members',
'members_labels',
'members_products',
'posts_products',
'members_stripe_customers',
'members_stripe_customers_subscriptions',
'migrations',
@ -18,15 +17,12 @@ const BACKUP_TABLES = [
'permissions',
'permissions_roles',
'permissions_users',
'products',
'benefits',
'products_benefits',
'webhooks',
'snippets',
'tokens',
'sessions',
'stripe_products',
'stripe_prices',
'mobiledoc_revisions',
'email_batches',
'email_recipients',
@ -57,6 +53,10 @@ const TABLES_ALLOWLIST = [
'custom_theme_settings',
'tags',
'users',
'products',
'stripe_products',
'stripe_prices',
'posts_products',
'newsletters'
];