Update
This commit is contained in:
parent
92a583b413
commit
1c64051aae
2 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
|||
module.exports = mongoose => {
|
||||
let schema = mongoose.Schema({
|
||||
userId: String,
|
||||
name: String,
|
||||
videos: []
|
||||
videos: Array
|
||||
},
|
||||
{ timestamps: true }
|
||||
);
|
||||
|
|
|
|||
Reference in a new issue