backend/app/models/Session.js

14 lines
278 B
JavaScript
Raw Normal View History

2020-10-29 03:55:04 +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