Neos\Flow\Persistence\Doctrine\Migrations\Version20150701113247::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_media_domain_model_image ALTER width SET NOT NULL");
        $this->addSql("ALTER TABLE typo3_media_domain_model_image ALTER height SET NOT NULL");
        $this->addSql("ALTER TABLE typo3_media_domain_model_imagevariant ALTER width SET NOT NULL");
        $this->addSql("ALTER TABLE typo3_media_domain_model_imagevariant ALTER height SET NOT NULL");
        $this->addSql("ALTER TABLE typo3_media_domain_model_thumbnail ALTER width SET NOT NULL");
        $this->addSql("ALTER TABLE typo3_media_domain_model_thumbnail ALTER height SET NOT NULL");
    }
Version20150701113247