Neos\Flow\Persistence\Doctrine\Migrations\Version20120412194614::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_typo3_domain_model_user DROP CONSTRAINT FK_E3F98B1321E3D446");
        $this->addSql("ALTER TABLE typo3_typo3_domain_model_domain DROP CONSTRAINT FK_F227E8F6694309E4");
        $this->addSql("ALTER TABLE typo3_typo3_domain_model_user DROP CONSTRAINT FK_E3F98B13E931A6F5");
        $this->addSql("DROP TABLE typo3_typo3_domain_model_domain");
        $this->addSql("DROP TABLE typo3_typo3_domain_model_site");
        $this->addSql("DROP TABLE typo3_typo3_domain_model_user");
        $this->addSql("DROP TABLE typo3_typo3_domain_model_userpreferences");
    }
Version20120412194614