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',
'member',
'member-stripe-customer',
'stripe-customer-subscription',
'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)
};