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