Add profilePictureUrl, dateOfBirth, gender and interests of a user

This commit is contained in:
Yûki VACHOT 2021-11-03 20:16:12 +01:00
parent 54324794e9
commit 3ce5567f8a
2 changed files with 51 additions and 23 deletions

View file

@ -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