CoreID/app/models/Session.js

14 lines
278 B
JavaScript
Raw Normal View History

2020-05-04 01:16:54 +00:00
const { Model } = require('flitter-orm')
class SessionModel extends Model {
static collection = 'flitter_sessions'
static get schema() {
return {
expires: Date,
session: Object,
}
}
}
module.exports = exports = SessionModel