A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
We have a block which used to have a property called "Title" that we've now renamed to "Heading" instead. We implemented this change and tested it and then figured that we should also add a migration to move the old title to the new property.
For this we created a miagration that inherited from MigrationStep like this.
But when we then start our project again this is logged.
[13:08:31 WRN] [] Page type model synchronizer couldn't save a property definition. A property with name "Heading" already existsNot sure what to do here, of course it exists since the content type is generated from code. Also, if I change to another name in the migration (like"Header") it is run without problems but it doesn't create a new property so I'm not sure at all how to proceed here.