mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Added model for stripe_customers_subscriptions
no-issue
This commit is contained in:
parent
0c32dfaa30
commit
37bb12afb3
@ -39,6 +39,7 @@ models = [
|
||||
'mobiledoc-revision',
|
||||
'member',
|
||||
'member-stripe-customer',
|
||||
'stripe-customer-subscription',
|
||||
'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…
Reference in New Issue
Block a user