2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server/models/refreshtoken.js
2015-06-15 09:43:19 +01:00

18 lines
446 B
JavaScript

var ghostBookshelf = require('./base'),
Basetoken = require('./base/token'),
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)
};