Neos\Flow\Persistence\Doctrine\Migrations\Version20120412194613::down PHP Метод

down() публичный Метод

public down ( Doctrine\DBAL\Schema\Schema $schema ) : void
$schema Doctrine\DBAL\Schema\Schema
Результат void
    public function down(Schema $schema)
    {
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "postgresql");
        $this->addSql("ALTER TABLE typo3_typo3cr_domain_model_node DROP CONSTRAINT FK_820CADC84930C33C");
        $this->addSql("ALTER TABLE typo3_typo3cr_domain_model_workspace DROP CONSTRAINT FK_71DE9CFBA762B951");
        $this->addSql("ALTER TABLE typo3_typo3cr_domain_model_node DROP CONSTRAINT FK_820CADC88D940019");
        $this->addSql("ALTER TABLE typo3_typo3cr_domain_model_workspace DROP CONSTRAINT FK_71DE9CFBE9BFE681");
        $this->addSql("DROP TABLE typo3_typo3cr_domain_model_contentobjectproxy");
        $this->addSql("DROP TABLE typo3_typo3cr_domain_model_node");
        $this->addSql("DROP TABLE typo3_typo3cr_domain_model_workspace");
    }
Version20120412194613