| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php defined('SYSPATH') OR die('No direct script access.'); |
||
| 26 | protected function _execute(array $options) |
||
| 27 | { |
||
| 28 | Minion_Task::factory(array( |
||
| 29 | 'task' => 'db:structure:dump', |
||
| 30 | 'database' => $options['from'], |
||
| 31 | 'force' => $options['force'] |
||
| 32 | )) |
||
| 33 | ->execute(); |
||
| 34 | |||
| 35 | Minion_Task::factory(array( |
||
| 36 | 'task' => 'db:structure:load', |
||
| 37 | 'database' => $options['to'], |
||
| 38 | 'force' => $options['force'] |
||
| 39 | )) |
||
| 40 | ->execute(); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |