nyx/models/econ.js

16 lines
250 B
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const { Schema, model } = require("mongoose");
module.exports = model(
"economy",
new Schema({
User: {
type: String,
required: true,
},
CP: {
type: Number,
required: true,
},
Inventory: Object,
})
);