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/starboard.js

10 lines
309 B

const mongoose = require('mongoose');
const StarSchema = new mongoose.Schema({
gid: {type: String, unique: true},
stars: {type: Object, default: {}},
starCount: {type: Object, default: {}},
serverStarCount: {type: Number, default: 0}
});
module.exports = mongoose.model('stars', StarSchema);