Contentful logo

Contentful Community

Set default value when creating a field with migration CLI

Hi,

I have some content models in production and now want to add a new required field with a default value.

Is it possible programmatically using migration CLI?

Thanks.

Edit: note that the field is not localized

2 Likes