Neos\Flow\Persistence\Doctrine\Migrations\Version20161125093821::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_typo3cr_domain_model_contentobjectproxy RENAME TO neos_contentrepository_domain_model_contentobjectproxy');
        $this->addSql('ALTER TABLE typo3_typo3cr_domain_model_nodedata RENAME TO neos_contentrepository_domain_model_nodedata');
        $this->addSql('ALTER TABLE typo3_typo3cr_domain_model_nodedimension RENAME TO neos_contentrepository_domain_model_nodedimension');
        $this->addSql('ALTER TABLE typo3_typo3cr_domain_model_workspace RENAME TO neos_contentrepository_domain_model_workspace');
        $this->addSql('ALTER TABLE typo3_typo3cr_migration_domain_model_migrationstatus RENAME TO neos_contentrepository_migration_domain_model_migrationstatus');
    }
Version20161125093821