You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Natsuki/models/saves.js

8 lines
221 B

const mongoose = require('mongoose');
const SaveSchema = new mongoose.Schema({
name: {type: String, unique: true},
saves: {type: Map, default: new Map()}
});
module.exports = mongoose.model('saves', SaveSchema);