Neos\Flow\Persistence\Doctrine\Migrations\Version20130319131400::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("DROP TABLE typo3_flow_security_account_roles_join");
        $this->addSql("DROP TABLE typo3_flow_security_policy_role_parentroles_join");
        $this->addSql("ALTER TABLE typo3_flow_security_policy_role DROP sourcehint");
        $this->addSql("ALTER TABLE typo3_flow_security_account ADD roles LONGTEXT NOT NULL COMMENT '(DC2Type:array)'");
        $this->migrateAccountRolesDown();
        $this->addSql("TRUNCATE TABLE typo3_flow_security_policy_role");
    }