| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class M180310000000StorageRefactoring extends Migration |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @inheritdoc |
||
| 21 | */ |
||
| 22 | public function safeUp() |
||
| 23 | { |
||
| 24 | $this->renameColumn($this->env->pushTableName, 'ttr', 'push_ttr'); |
||
| 25 | $this->renameColumn($this->env->pushTableName, 'delay', 'push_delay'); |
||
| 26 | $this->addColumn($this->env->pushTableName, 'push_trace_data', $this->binary()->after('push_delay')); |
||
| 27 | $this->addColumn($this->env->pushTableName, 'push_env_data', $this->binary()->after('push_trace_data')); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritdoc |
||
| 32 | */ |
||
| 33 | public function safeDown() |
||
| 39 | } |
||
| 40 | } |
||
| 41 |