protected function processSchemas(\Doctrine\DBAL\Schema\Schema $newSchema, \Doctrine\DBAL\Schema\Schema $oldSchema) {
		$comparator = new \Doctrine\DBAL\Schema\Comparator;
		$schemaDiff = $comparator->compare($oldSchema, $newSchema);

		$platform = $this->dataMapper->getDB()->getConn()->getDatabasePlatform();

		$queries = $schemaDiff->toSql($platform);
		foreach($queries as $query)
			$this->dataMapper->getDB()->query($query);
	}
protected function processSchemas(\Doctrine\DBAL\Schema\Schema $newSchema, \Doctrine\DBAL\Schema\Schema $oldSchema) {
		$comparator = new \Doctrine\DBAL\Schema\Comparator;
		$schemaDiff = $comparator->compare($oldSchema, $newSchema);

		$platform = $this->dataMapper->getDB()->getConn()->getDatabasePlatform();

		$queries = $schemaDiff->toSql($platform);
		foreach($queries as $query)
			$this->dataMapper->getDB()->query($query);
	}
protected function processSchemas ( \ Doctrine \ DBAL \ Schema \ Schema $ newSchema , \ Doctrine \ DBAL \ Schema \ Schema $ oldSchema ) { $ comparator = new \ Doctrine \ DBAL \ Schema \ Comparator ; $ schemaDiff = $ comparator -> compare ( $ oldSchema , $ newSchema ) ; $ platform = $ this -> dataMapper -> getDB ( ) -> getConn ( ) -> getDatabasePlatform ( ) ; $ queries = $ schemaDiff -> toSql ( $ platform ) ; foreach ( $ queries as $ query ) $ this -> dataMapper -> getDB ( ) -> query ( $ query ) ; }
Process the schemas.
@param  \Doctrine\DBAL\Schema\Schema $newSchema
@param  \Doctrine\DBAL\Schema\Schema $oldSchema
Process the schemas .