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:
parent
0c32dfaa30
commit
37bb12afb3
2 changed files with 10 additions and 0 deletions
|
@ -39,6 +39,7 @@ models = [
|
||||||
'mobiledoc-revision',
|
'mobiledoc-revision',
|
||||||
'member',
|
'member',
|
||||||
'member-stripe-customer',
|
'member-stripe-customer',
|
||||||
|
'stripe-customer-subscription',
|
||||||
'action'
|
'action'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
9
core/server/models/stripe-customer-subscription.js
Normal file
9
core/server/models/stripe-customer-subscription.js
Normal 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)
|
||||||
|
};
|
Loading…
Add table
Reference in a new issue