mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
469aaa398c
resolves #1920 - updates all files to conform to style settings.
18 lines
337 B
JavaScript
18 lines
337 B
JavaScript
var ghostBookshelf = require('./base'),
|
|
|
|
Client,
|
|
Clients;
|
|
|
|
Client = ghostBookshelf.Model.extend({
|
|
tableName: 'clients'
|
|
});
|
|
|
|
Clients = ghostBookshelf.Collection.extend({
|
|
model: Client
|
|
});
|
|
|
|
module.exports = {
|
|
Client: ghostBookshelf.model('Client', Client),
|
|
Clients: ghostBookshelf.collection('Clients', Clients)
|
|
};
|