I am trying to set the star_info attribute as an object type(Mixed Schema) and setting it's default value as an empty object using
star_info: { type : Schema.Types.Mixed, default : { }}
In the database, there is no field star_info when saving the documents. How do I get mongoose to set the default value?