diff --git a/models/char.js b/models/char.js new file mode 100644 index 0000000..92fc137 --- /dev/null +++ b/models/char.js @@ -0,0 +1,16 @@ +const mongoose = require('mongoose'); + +const char = new mongoose.Schema({ + id: {type: String, unique: true}, + name: String, + anime: String, + thumbnail: String, + images: {type: [String], default: []}, + nicknames: {type: [String], default: []}, + loved: {type: Number, default: 0}, + personality: {type: String, defualt: null}, + gender: String, + loveInterest: {type: String, defualt: null} +}); + +module.exports = mongoose.model('char', char); \ No newline at end of file