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
*/
public function migrateAttributes($table,
$keyColumn) { $attributes =
$this->
getList($table);