nyx/models/weapons.js
2022-03-02 14:24:39 +05:30

32 lines
514 B
JavaScript

// 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: [],
},
})
);