nyx/models/weapons.js

33 lines
514 B
JavaScript
Raw Normal View History

2022-03-02 09:54:39 +01:00
// Do we still need this ?
const mongoose = require("mongoose");
module.exports = mongoose.model(
"weapons",
new mongoose.Schema({
Categories: {
type: Array,
default: [],
},
Primary: {
type: Array,
default: [],
},
Secondary: {
type: Array,
default: [],
},
Equipment: {
type: Array,
default: [],
},
OperatorSkill: {
type: Array,
default: [],
},
Perk: {
type: Array,
default: [],
},
})
);