mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
6b4e6fb400
no-issue
14 lines
325 B
JavaScript
14 lines
325 B
JavaScript
const ghostBookshelf = require('./base');
|
|
|
|
const Member = ghostBookshelf.Model.extend({
|
|
tableName: 'members'
|
|
});
|
|
|
|
const Members = ghostBookshelf.Collection.extend({
|
|
model: Member
|
|
});
|
|
|
|
module.exports = {
|
|
Member: ghostBookshelf.model('Member', Member),
|
|
Members: ghostBookshelf.collection('Members', Members)
|
|
};
|