Doctrine\DBAL\Platforms\AbstractPlatform::getForeignKeyBaseDeclarationSQL
Obtain DBMS specific SQL code portion needed to set the FOREIGN KEY constraint of a field declaration to be used in statements like CREATE TABLE.
Signature
public function getForeignKeyBaseDeclarationSQL(ForeignKeyConstraint
$foreignKey )
Parameters
$foreignKey
— Doctrine\DBAL\Schema\ForeignKeyConstraint
Returns
- string