Doctrine\DBAL\Platforms\AbstractPlatform::getAlterTableSQL
Gets the sql statements for altering an existing table.
The method returns an array of sql statements, since some platforms need several statements.
Signature
public function getAlterTableSQL(TableDiff
$diff )
Parameters
$diff
— Doctrine\DBAL\Schema\TableDiff
Returns
- array