mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
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:
parent
e8a986c61b
commit
f64577b4ce
1 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,6 @@ const BACKUP_TABLES = [
|
||||||
'members',
|
'members',
|
||||||
'members_labels',
|
'members_labels',
|
||||||
'members_products',
|
'members_products',
|
||||||
'posts_products',
|
|
||||||
'members_stripe_customers',
|
'members_stripe_customers',
|
||||||
'members_stripe_customers_subscriptions',
|
'members_stripe_customers_subscriptions',
|
||||||
'migrations',
|
'migrations',
|
||||||
|
@ -18,15 +17,12 @@ const BACKUP_TABLES = [
|
||||||
'permissions',
|
'permissions',
|
||||||
'permissions_roles',
|
'permissions_roles',
|
||||||
'permissions_users',
|
'permissions_users',
|
||||||
'products',
|
|
||||||
'benefits',
|
'benefits',
|
||||||
'products_benefits',
|
'products_benefits',
|
||||||
'webhooks',
|
'webhooks',
|
||||||
'snippets',
|
'snippets',
|
||||||
'tokens',
|
'tokens',
|
||||||
'sessions',
|
'sessions',
|
||||||
'stripe_products',
|
|
||||||
'stripe_prices',
|
|
||||||
'mobiledoc_revisions',
|
'mobiledoc_revisions',
|
||||||
'email_batches',
|
'email_batches',
|
||||||
'email_recipients',
|
'email_recipients',
|
||||||
|
@ -57,6 +53,10 @@ const TABLES_ALLOWLIST = [
|
||||||
'custom_theme_settings',
|
'custom_theme_settings',
|
||||||
'tags',
|
'tags',
|
||||||
'users',
|
'users',
|
||||||
|
'products',
|
||||||
|
'stripe_products',
|
||||||
|
'stripe_prices',
|
||||||
|
'posts_products',
|
||||||
'newsletters'
|
'newsletters'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue