This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE neos_contentrepository_domain_model_nodedata SET dimensionvalues = '{ | |
"language": { | |
"0": "de" | |
} | |
}' WHERE dimensionvalues = '{}' and path <> '/' and path <> '/sites'; | |
delete t1 FROM neos_contentrepository_domain_model_nodedata t1 | |
INNER JOIN neos_contentrepository_domain_model_nodedata t2 | |
WHERE | |
t1.lastmodificationdatetime <= t2.lastmodificationdatetime AND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace My\FoobarCom\Migration\Transformations; | |
use Neos\Flow\Annotations as Flow; | |
use Neos\ContentRepository\Domain\Factory\NodeFactory; | |
use Neos\ContentRepository\Domain\Service\ContextFactory; | |
use Neos\ContentRepository\Domain\Model\NodeData; | |
use Neos\ContentRepository\Migration\Transformations\AbstractTransformation; | |
use Neos\Eel\EelEvaluatorInterface; |