| Conditions | 3 |
| Paths | 2 |
| Total Lines | 21 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | ); |
||
| 40 | } |
||
| 41 | $this->compact = false; |
||
| 42 | $this->endCommand($time); |
||
| 43 | |||
| 44 | $this->addColumn( |
||
| 45 | $this->env->workerTableName, |
||
| 46 | 'stopped_at', |
||
| 47 | $this->integer()->after('pinged_at') |
||
| 48 | ); |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @inheritdoc |
||
| 53 | */ |
||
| 54 | public function safeDown() |
||
| 55 | { |
||
| 56 | $this->dropColumn($this->env->workerTableName, 'stopped_at'); |
||
| 57 | $this->dropColumn($this->env->workerTableName, 'pinged_at'); |
||
| 58 | } |
||
| 59 | } |
||
| 60 |