db\Command dropForeignKey()

dropForeignKey() public method

Creates a SQL command for dropping a foreign key constraint.

public $this dropForeignKey ( $name, $table )
$name string

The name of the foreign key constraint to be dropped. The name will be properly quoted by the method.

$table string

The table whose foreign is to be dropped. The name will be properly quoted by the method.

return $this

The command object itself

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.