Files
dwroller/database/playerModel.js
2025-08-14 23:55:55 +02:00

13 lines
340 B
JavaScript

const mongoose = require('mongoose');
const playerSchema = new mongoose.Schema({
name: { type: String, required: true },
rollerInfo: { type: Object, default: {} },
shopInfo: { type: Object, default: {} },
tabInfo: { type: Object, default: {} },
});
const Player = mongoose.model('Player', playerSchema);
module.exports = Player;