/**
* @param string $table
* @param string $name
* @param string $type
*
* @return void
*/
public function update($table,
$name,
$type) { if ($this->
get($table,
$name) !== null
) { $this->
changeColumn($table,
$name,
$type);
return;
} $this->
createColumn($table,
$name,
$type);
} /**
* @param string $table
* @param string $keyColumn
*
* @return void
*/