const mongoose = require('mongoose'); const lxp = new mongoose.Schema({ gid: {type: String, unique: true}, msg: {type: Boolean, default: true}, xp: {type: Object, default: {}}, lvch: {type: String, default: ''} }); module.exports = mongoose.model('localxp', lxp);