@AndreasGalster You would need a migration script to do that. But you might not need one.
I think when you load an old document, and the field is missing, then mongoose will set the default value.
Of course this won’t work when using
Please test it, I’m not sure. ;)