framework/db/QueryBuilder.php
public function dropUnique($name, $table)
    {
        return 'ALTER TABLE ' . $this->db->quoteTableName($table)
            . ' DROP CONSTRAINT ' . $this->db->quoteColumnName($name);
    }
public function dropUnique($name, $table)
    {
        return 'ALTER TABLE ' . $this->db->quoteTableName($table)
            . ' DROP CONSTRAINT ' . $this->db->quoteColumnName($name);
    }
public function dropUnique ( $ name , $ table ) { return 'ALTER TABLE ' . $ this -> db -> quoteTableName ( $ table ) . ' DROP CONSTRAINT ' . $ this -> db -> quoteColumnName ( $ name ) ; }
Creates a SQL command for dropping an unique constraint.
@param string $name the name of the unique constraint to be dropped.
The name will be properly quoted by the method.
@param string $table the table whose unique constraint is to be dropped.
The name will be properly quoted by the method.
@return string the SQL statement for dropping an unique constraint.
@since 2.0.13
Creates a SQL command for dropping an unique constraint .