0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Added model for stripe_customers_subscriptions

no-issue
This commit is contained in:
Fabien O'Carroll 2019-10-07 12:03:24 +07:00
parent 0c32dfaa30
commit 37bb12afb3
2 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,7 @@ models = [
'mobiledoc-revision', 'mobiledoc-revision',
'member', 'member',
'member-stripe-customer', 'member-stripe-customer',
'stripe-customer-subscription',
'action' 'action'
]; ];

View file

@ -0,0 +1,9 @@
const ghostBookshelf = require('./base');
const StripeCustomerSubscription = ghostBookshelf.Model.extend({
tableName: 'stripe_customers_subscriptions'
});
module.exports = {
StripeCustomerSubscription: ghostBookshelf.model('StripeCustomerSubscription', StripeCustomerSubscription)
};