akf-forum/models/Timeout.js

8 lines
No EOL
157 B
JavaScript

const { Schema, model } = require("mongoose")
module.exports = model('timeout', new Schema({
id: { type: Number, unique: true },
until: Number
}))