protected function addAlterResponses()
    {
        $platform = $this->connection->getDatabasePlatform();
        $response = $this->getResponse();
        $this->setIgnoredChanges();

        foreach ($this->diffs as $tableName => $tableDiff) {
            $this->pending = true;
            $this->tablesAlter[$tableName] = $tableDiff;
            $response->addTitle($tableName, sprintf('Table `%s` is not the correct schema:', $tableName));
            $response->checkDiff($tableName, $tableDiff);
            $this->systemLog->debug('Database update required', $platform->getAlterTableSQL($tableDiff));
        }
    }
protected function addAlterResponses()
    {
        $platform = $this->connection->getDatabasePlatform();
        $response = $this->getResponse();
        $this->setIgnoredChanges();

        foreach ($this->diffs as $tableName => $tableDiff) {
            $this->pending = true;
            $this->tablesAlter[$tableName] = $tableDiff;
            $response->addTitle($tableName, sprintf('Table `%s` is not the correct schema:', $tableName));
            $response->checkDiff($tableName, $tableDiff);
            $this->systemLog->debug('Database update required', $platform->getAlterTableSQL($tableDiff));
        }
    }
protected function addAlterResponses ( ) { $ platform = $ this -> connection -> getDatabasePlatform ( ) ; $ response = $ this -> getResponse ( ) ; $ this -> setIgnoredChanges ( ) ; foreach ( $ this -> diffs as $ tableName => $ tableDiff ) { $ this -> pending = true ; $ this -> tablesAlter [ $ tableName ] = $ tableDiff ; $ response -> addTitle ( $ tableName , sprintf ( 'Table `%s` is not the correct schema:' , $ tableName ) ) ; $ response -> checkDiff ( $ tableName , $ tableDiff ) ; $ this -> systemLog -> debug ( 'Database update required' , $ platform -> getAlterTableSQL ( $ tableDiff ) ) ; } }
Add required changes to the response object.

NOTE: This must be run after adjustDiffs() so that the user response
doesn't contain ignored changes.
Add required changes to the response object .