mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
52e35a282b
closes #4174 - added trusted domains - removed unique constraint from secret
18 lines
495 B
JavaScript
18 lines
495 B
JavaScript
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)
|
|
};
|