Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

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

Open
alex-windett opened this issue Apr 1, 2022 · 0 comments

Comments

@alex-windett
Copy link

alex-windett commented Apr 1, 2022

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?

@alex-windett alex-windett changed the title A field can't have "relationshipType" as a validation. Importing Compose migrations: 'A field can't have "relationshipType" as a validation.' Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant