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.
11 lines
335 B
11 lines
335 B
3 years ago
|
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);
|