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

Added MemberStripeInfo model

no-issue

Simple model to allow us to do relations with the Member model
This commit is contained in:
Fabien O'Carroll 2019-09-19 11:47:47 +08:00
parent fd1db4ffac
commit e54adfd30d
2 changed files with 10 additions and 0 deletions

View file

@ -38,6 +38,7 @@ models = [
'api-key',
'mobiledoc-revision',
'member',
'member-stripe-info',
'action'
];

View file

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