public function alterReference($columnName, $refTable, $refColumn,
            $onDelete = 'RESTRICT', $onUpdate = 'RESTRICT') {
        $this->dropReference($columnName);
        $this->addReference($columnName, $refTable, $refColumn, $onDelete,
                $onUpdate);
        return $this;
    }
public function alterReference($columnName, $refTable, $refColumn,
            $onDelete = 'RESTRICT', $onUpdate = 'RESTRICT') {
        $this->dropReference($columnName);
        $this->addReference($columnName, $refTable, $refColumn, $onDelete,
                $onUpdate);
        return $this;
    }
public function alterReference ( $ columnName , $ refTable , $ refColumn , $ onDelete = 'RESTRICT' , $ onUpdate = 'RESTRICT' ) { $ this -> dropReference ( $ columnName ) ; $ this -> addReference ( $ columnName , $ refTable , $ refColumn , $ onDelete , $ onUpdate ) ; return $ this ; }
Alter references of the table column
@param string $columnName
@param string $refTable
@param string $refColumn
@return Table
Alter references of the table column