Doctrine\DBAL\Platforms\AbstractPlatform::getCreateConstraintSQL
Gets the SQL to create a constraint on a table on this platform.
Signature
public function getCreateConstraintSQL(Constraint
$constraint,
string|Table
$table )
Parameters
$constraint
— \Doctrine\DBAL\Schema\Constraint
$table
— object
Returns
- string