mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
6b4e6fb400
no-issue
15 lines
325 B
JavaScript
15 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)
|
|
};
|