These are chat archives for Automattic/mongoose

Sep 2017
Andreas Galster
Sep 16 2017 05:59
Hi I have a question for migrations. I have a schema without a commentsCount field. I added commentsCount with a default value of 0 to my schema. Can I somehow apply this value automatically to all existing comments? Or do I need to run a migration script for that?