| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function update_schema() |
||
| 35 | { |
||
| 36 | return array( |
||
| 37 | 'drop_tables' => array( |
||
| 38 | $this->table_prefix . 'blocks', |
||
| 39 | $this->table_prefix . 'blocks_config', |
||
| 40 | $this->table_prefix . 'block_positions', |
||
| 41 | ), |
||
| 42 | 'add_columns' => array( |
||
| 43 | $this->table_prefix . 'menu_items' => array( |
||
| 44 | 'depth' => array('UINT', 0), |
||
| 45 | ), |
||
| 46 | ), |
||
| 47 | 'drop_columns' => array( |
||
| 48 | $this->table_prefix . 'menus' => array('menu_type', 'menu_status'), |
||
| 49 | $this->table_prefix . 'menu_items' => array('item_expanded'), |
||
| 50 | $this->table_prefix . 'forums' => array('module'), |
||
| 51 | $this->table_prefix . 'users' => array('user_week_start'), |
||
| 52 | ), |
||
| 56 |