backend/app/models/Session.js
garrettmills 55a22a4f4c
All checks were successful
continuous-integration/drone/push Build is passing
Start /api/v1/offline/sync endpoint
2020-10-28 22:55:04 -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