2022-03-02 09:54:39 +01:00
|
|
|
// Do we still need this ?
|
|
|
|
|
2021-11-18 18:56:42 +01:00
|
|
|
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: [],
|
|
|
|
},
|
|
|
|
})
|
|
|
|
);
|