Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
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 exists
Not 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.