This commit is contained in:
Yûki VACHOT 2021-11-12 13:41:03 +01:00
parent 92a583b413
commit 1c64051aae
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,8 @@
module.exports = mongoose => {
let schema = mongoose.Schema({
userId: String,
name: String,
videos: []
videos: Array
},
{ timestamps: true }
);