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