How can I define an array of objects field in Sequelize.js model?
I need something like this
{
"profiles" : [
{
"profile_id": 10,
"profile_pictures" : ["pic1.jpg","pic2.jpg","pic3.jpg"],
"profile_used_id" : 12
},
... // more profiles
]
}
I checked the docs, but couldn't find a relevant data type, am I missing something here ?