Add profilePictureUrl, dateOfBirth, gender and interests of a user
This commit is contained in:
parent
54324794e9
commit
3ce5567f8a
2 changed files with 51 additions and 23 deletions
|
|
@ -9,7 +9,22 @@ module.exports = mongoose => {
|
|||
type: Object,
|
||||
default: roles.User
|
||||
},
|
||||
playlists: [],
|
||||
profilePictureUrl: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
dateOfBirth: {
|
||||
type: Date,
|
||||
default: null
|
||||
},
|
||||
gender: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
interests: {
|
||||
type: Array,
|
||||
default: null
|
||||
},
|
||||
active: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
|
|
|
|||
Reference in a new issue