Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class v320_m5_update_schema extends \phpbb\db\migration\migration |
||
14 | { |
||
15 | /** |
||
16 | * @inheritDoc |
||
17 | */ |
||
18 | public static function depends_on() |
||
19 | { |
||
20 | return array('\skouat\ppde\migrations\v32x\v320_m4_update_schema'); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @inheritDoc |
||
25 | */ |
||
26 | public function update_schema() |
||
27 | { |
||
28 | return array( |
||
29 | 'add_columns' => array( |
||
30 | $this->table_prefix . 'ppde_txn_log' => array( |
||
31 | 'txn_errors_approved' => array('BOOL', 0), |
||
32 | ), |
||
33 | ), |
||
34 | ); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @inheritDoc |
||
39 | */ |
||
40 | public function revert_schema() |
||
45 | ), |
||
46 | ); |
||
47 | } |
||
49 |