deluan / contentful-migrate

🐎 Schema migration tooling for Contentful, with state management
https://www.contentful.com/blog/2018/09/13/content-model-changes-scale-telus-cms-as-code/
MIT License
60 stars 37 forks source link

Importing Compose migrations: 'A field can't have "relationshipType" as a validation.' #260

Open alex-windett opened 2 years ago

alex-windett commented 2 years ago

I am setting up new migration scripts to be used with environment deployments and want to include Compose.

I followed this guide to export an initial migration script for Compose: Page and Compose: SEO. But when I try and run the migration script to import the migrations into a new environment I get the following error

Error: A field can't have "relationshipType" as a validation.

I am using the Continuous Intergration tutorial to import the migrations which does not use the contentful-cli but uses the npm package contentful-migrate instead.

How can I import the file generated via the alpha-features flag in the CLI with the contentful-migrate npm package?