Update: add default values
This commit is contained in:
parent
16b04f1b91
commit
81c6895e72
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ module.exports = mongoose => {
|
||||||
userId: String,
|
userId: String,
|
||||||
videoIds: {
|
videoIds: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: null
|
default: []
|
||||||
},
|
},
|
||||||
name: String,
|
name: String,
|
||||||
isActive: {
|
isActive: {
|
||||||
|
|
|
||||||
Reference in a new issue