| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function safeUp() |
||
| 16 | { |
||
| 17 | // Add in the siteId columns |
||
| 18 | if (!$this->db->columnExists('{{%retour_static_redirects}}', 'priority')) { |
||
| 19 | $this->addColumn( |
||
| 20 | '{{%retour_static_redirects}}', |
||
| 21 | 'priority', |
||
| 22 | $this->integer()->null()->after('redirectHttpCode')->defaultValue(5) |
||
| 23 | ); |
||
| 36 |