You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luno/models/statuses.js

8 lines
206 B

4 years ago
const mongoose = require('mongoose');
const StatusSchema = new mongoose.Schema({
f: String,
statuses: [{id: String, clear: Date}]
});
module.exports = new mongoose.model('statuses', StatusSchema);