mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
19 lines
268 B
JavaScript
19 lines
268 B
JavaScript
|
var ghostBookshelf = require('./base'),
|
||
|
|
||
|
Client,
|
||
|
Clients;
|
||
|
|
||
|
Client = ghostBookshelf.Model.extend({
|
||
|
|
||
|
tableName: 'clients'
|
||
|
|
||
|
});
|
||
|
|
||
|
Clients = ghostBookshelf.Collection.extend({
|
||
|
model: Client
|
||
|
});
|
||
|
|
||
|
module.exports = {
|
||
|
Client: Client,
|
||
|
Clients: Clients
|
||
|
};
|