Neos\Flow\Persistence\Doctrine\Migrations\Version20160411101640::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', 'Migration can only be executed safely on "postgresql".');
        $this->addSql('ALTER TABLE typo3_neos_domain_model_site DROP CONSTRAINT FK_1854B207B8872B4A');
        $this->addSql('DROP INDEX IDX_1854B207B8872B4A');
        $this->addSql('ALTER TABLE typo3_neos_domain_model_site DROP primarydomain');
    }
Version20160411101640