public function dropPrimaryKey($name, $table = null)
    {
        return $this->db->alterTable($this->getTable($table))
                        ->dropConstraint($name)
                        ->execute();
    }
public function dropPrimaryKey($name, $table = null)
    {
        return $this->db->alterTable($this->getTable($table))
                        ->dropConstraint($name)
                        ->execute();
    }
public function dropPrimaryKey ( $ name , $ table = null ) { return $ this -> db -> alterTable ( $ this -> getTable ( $ table ) ) -> dropConstraint ( $ name ) -> execute ( ) ; }
Drops a primary key

@param string $name PK's name
@param string $table Table name. By default it uses mapper's table
@return boolean
Drops a primary key