mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03: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
|
||
|
};
|