CoreID/app/models/Session.js
2020-05-03 20:16:54 -05:00

14 lines
278 B
JavaScript

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