Neos\Flow\Persistence\Doctrine\Migrations\Version20161125124749::down PHP Method

down() public method

public down ( Doctrine\DBAL\Schema\Schema $schema ) : void
$schema Doctrine\DBAL\Schema\Schema
return void
    public function down(Schema $schema)
    {
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on "mysql".');
        $this->addSql("UPDATE neos_contentrepository_domain_model_nodedata SET nodetype = REPLACE(nodetype, 'Neos.Neos:', 'TYPO3.Neos:')");
        $this->addSql("UPDATE neos_contentrepository_domain_model_nodedata SET properties = REPLACE(properties, 'Neos\\\\\\\\Media\\\\\\\\', 'TYPO3\\\\\\\\Media\\\\\\\\')");
        $this->addSql("UPDATE neos_contentrepository_domain_model_nodedata SET properties = REPLACE(properties, 'Neos\\\\\\\\Flow\\\\\\\\', 'TYPO3\\\\\\\\Flow\\\\\\\\')");
        $this->addSql("UPDATE neos_contentrepository_domain_model_nodedata SET properties = REPLACE(properties, 'Neos\\\\\\\\Neos\\\\\\\\', 'TYPO3\\\\\\\\Neos\\\\\\\\')");
        $this->addSql("UPDATE neos_contentrepository_domain_model_nodedata SET properties = REPLACE(properties, 'Neos\\\\\\\\Party\\\\\\\\', 'TYPO3\\\\\\\\Party\\\\\\\\')");
        $this->addSql("UPDATE neos_contentrepository_domain_model_nodedata SET properties = REPLACE(properties, 'Neos\\\\\\\\ContentRepository\\\\\\\\', 'TYPO3\\\\\\\\TYPO3CR\\\\\\\\')");
    }
Version20161125124749