2014-07-14 07:29:45 -05:00
|
|
|
var ghostBookshelf = require('./base'),
|
2015-06-14 10:58:49 -05:00
|
|
|
Basetoken = require('./base/token'),
|
2014-06-30 07:58:10 -05:00
|
|
|
|
|
|
|
Refreshtoken,
|
|
|
|
Refreshtokens;
|
|
|
|
|
2014-07-14 07:29:45 -05:00
|
|
|
Refreshtoken = Basetoken.extend({
|
|
|
|
tableName: 'refreshtokens'
|
2014-06-30 07:58:10 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
Refreshtokens = ghostBookshelf.Collection.extend({
|
|
|
|
model: Refreshtoken
|
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = {
|
2014-07-13 06:17:18 -05:00
|
|
|
Refreshtoken: ghostBookshelf.model('Refreshtoken', Refreshtoken),
|
|
|
|
Refreshtokens: ghostBookshelf.collection('Refreshtokens', Refreshtokens)
|
2014-09-09 23:06:24 -05:00
|
|
|
};
|