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.
19 lines
445 B
JavaScript
19 lines
445 B
JavaScript
var ghostBookshelf = require('./base'),
|
|
Basetoken = require('./basetoken'),
|
|
|
|
Refreshtoken,
|
|
Refreshtokens;
|
|
|
|
Refreshtoken = Basetoken.extend({
|
|
tableName: 'refreshtokens'
|
|
});
|
|
|
|
Refreshtokens = ghostBookshelf.Collection.extend({
|
|
model: Refreshtoken
|
|
});
|
|
|
|
module.exports = {
|
|
Refreshtoken: ghostBookshelf.model('Refreshtoken', Refreshtoken),
|
|
Refreshtokens: ghostBookshelf.collection('Refreshtokens', Refreshtokens)
|
|
};
|