Doctrine\DBAL\Schema\AbstractSchemaManager::dropForeignKey
Drops a foreign key from a table.
Signature
public function dropForeignKey(
$foreignKey,
ForeignKeyConstraint|string
$table )
Parameters
$foreignKey
—$table
— object- The name of the table with the foreign key.
Returns
- boolean
- $result