Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
18 | 1 | public function renameColumn($from, $to) |
|
19 | { |
||
20 | 1 | $parameters = []; |
|
21 | 1 | $parameters['handler'] = 'aql'; |
|
22 | 1 | $parameters['explanation'] = "Rename the column '$from' to '$to'."; |
|
23 | 1 | $parameters['from'] = $from; |
|
24 | 1 | $parameters['to'] = $to; |
|
25 | |||
26 | 1 | return $this->addCommand('renameAttribute', $parameters); |
|
|
|||
27 | } |
||
47 |