nyx/models/econ.js

27 lines
404 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,
2021-07-13 05:17:39 +02:00
default: 0,
},
BJWins: {
type: Number,
default: 0,
},
SlotsWins: {
type: Number,
default: 0,
},
BetWins: {
type: Number,
default: 0,
2021-06-12 12:53:51 +02:00
},
})
);