Ghost/core/server/models/client-trusted-domain.js

18 lines
495 B
JavaScript
Raw Normal View History

var ghostBookshelf = require('./base'),
ClientTrustedDomain,
ClientTrustedDomains;
ClientTrustedDomain = ghostBookshelf.Model.extend({
tableName: 'client_trusted_domains'
});
ClientTrustedDomains = ghostBookshelf.Collection.extend({
model: ClientTrustedDomain
});
module.exports = {
ClientTrustedDomain: ghostBookshelf.model('ClientTrustedDomain', ClientTrustedDomain),
ClientTrustedDomains: ghostBookshelf.collection('ClientTrustedDomains', ClientTrustedDomains)
};