| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | trait ColumnCommands |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Indicate that the given attributes should be renamed. |
||
| 13 | * |
||
| 14 | * @param string $from |
||
| 15 | * @param string $to |
||
| 16 | * @return Fluent |
||
| 17 | */ |
||
| 18 | 1 | public function renameColumn($from, $to) |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Indicate that the given column(s) should be dropped. |
||
| 31 | * |
||
| 32 | * @param array|mixed $columns |
||
| 33 | * @return Fluent |
||
| 34 | */ |
||
| 35 | 2 | public function dropColumn($columns) |
|
| 47 |