I want to rename my NodeType Vendor.Site:OldNodeTypeName to Vendor.Site:NewNodeTypeName.
The task is as straight-forward as it can get in the yaml file, I can just rename it and I’m done. The actual problem I face is that after renaming my NodeType, I want to apply the new name to the existing entries in the database.
I know I could run ./flow node:repair and they would be deleted, but I don’t want to lose my content. Is there an easy solution to this ?
Is the query below enough to handle this, or do I have to do something else ?
UPDATE neos_contentrepository_domain_model_nodedata SET nodetype='Vendor.Site:NewNodeTypeName' WHERE nodetype LIKE 'Vendor.Site:OldNodeTypeName'