Neos\Flow\Persistence\Doctrine\Migrations\Version20120329220342::up PHP Метод

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

public up ( Doctrine\DBAL\Schema\Schema $schema ) : void
$schema Doctrine\DBAL\Schema\Schema
Результат void
    public function up(Schema $schema)
    {
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
        $this->addSql("ALTER TABLE typo3_typo3cr_domain_model_contentobjectproxy CHANGE targettype targettype VARCHAR(255) NOT NULL, CHANGE targetid targetid VARCHAR(255) NOT NULL");
        $this->addSql("ALTER TABLE typo3_typo3cr_domain_model_node CHANGE path path VARCHAR(255) NOT NULL, CHANGE identifier identifier VARCHAR(255) NOT NULL, CHANGE properties properties LONGTEXT NOT NULL COMMENT '(DC2Type:array)', CHANGE contenttype contenttype VARCHAR(255) NOT NULL, CHANGE removed removed TINYINT(1) NOT NULL, CHANGE hidden hidden TINYINT(1) NOT NULL, CHANGE hiddeninindex hiddeninindex TINYINT(1) NOT NULL, CHANGE accessroles accessroles LONGTEXT NOT NULL COMMENT '(DC2Type:array)', CHANGE version version INT NOT NULL, CHANGE parentpath parentpath VARCHAR(255) NOT NULL");
        $this->addSql("ALTER TABLE typo3_typo3cr_domain_model_workspace CHANGE name name VARCHAR(255) NOT NULL");
    }
Version20120329220342