Pagekit\Database\Utility::dropAndCreateConstraint PHP Method

dropAndCreateConstraint() public method

{@see AbstractSchemaManager::dropAndCreateConstraint}
public dropAndCreateConstraint ( Doctrine\DBAL\Schema\Constraint $constraint, $table )
$constraint Doctrine\DBAL\Schema\Constraint
    public function dropAndCreateConstraint(Constraint $constraint, $table)
    {
        $this->manager->dropAndCreateConstraint($constraint, $this->replacePrefix($table));
    }