master
Kit Kasune 3 years ago
parent 0e1480f9d9
commit cb914ee96c
  1. 16
      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);
Loading…
Cancel
Save