Neos\Flow\Persistence\Doctrine\Migrations\Version20161124185048::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() != 'postgresql', 'Migration can only be executed safely on "postgresql".');
        $this->addSql("ALTER TABLE typo3_flow_mvc_routing_objectpathmapping RENAME TO neos_flow_mvc_routing_objectpathmapping");
        $this->addSql("ALTER TABLE typo3_flow_resourcemanagement_persistentresource RENAME TO neos_flow_resourcemanagement_persistentresource");
        $this->addSql("ALTER TABLE typo3_flow_security_account RENAME TO neos_flow_security_account");
    }
Version20161124185048