How can I ensure new fields are populated on existing collection items?

default discord avatar
3 months ago

As the title says 🙂

Whenever I add a new field, it doesn't get populated even if there's a defaultvalue. Is there any good way to ensure all of them gets this new value?

(And perhaps clear old or fields that changed name, e.g. newField -> newfield = both fields can exist)

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.