Neos\Flow\Persistence\Doctrine\Migrations\Version20110620155001::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() != "mysql");
        $this->addSql("ALTER TABLE typo3cr_node DROP FOREIGN KEY typo3cr_node_ibfk_2");
        $this->addSql("ALTER TABLE contentTypesDeclaredSuperTypes DROP FOREIGN KEY contenttypesdeclaredsupertypes_ibfk_2");
        $this->addSql("ALTER TABLE contentTypesDeclaredSuperTypes DROP FOREIGN KEY contenttypesdeclaredsupertypes_ibfk_1");
        $this->addSql("ALTER TABLE typo3cr_workspace DROP FOREIGN KEY typo3cr_workspace_ibfk_2");
        $this->addSql("ALTER TABLE typo3cr_node DROP FOREIGN KEY typo3cr_node_ibfk_1");
        $this->addSql("ALTER TABLE typo3cr_workspace DROP FOREIGN KEY typo3cr_workspace_ibfk_1");
        $this->addSql("DROP TABLE typo3cr_contentobjectproxy");
        $this->addSql("DROP TABLE typo3cr_contenttype");
        $this->addSql("DROP TABLE contentTypesDeclaredSuperTypes");
        $this->addSql("DROP TABLE typo3cr_node");
        $this->addSql("DROP TABLE typo3cr_workspace");
    }
Version20110620155001