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

11 lines
335 B

const mongoose = require('mongoose');
const af = new mongoose.Schema({
uid: {type: String, unique: true},
watched: {type: [String], default: []},
liked: {type: [String], default: []},
toWatch: {type: [String], default: []},
ratings: {type: [Object], default: {}}
});
module.exports = mongoose.model('anifav', af);