Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | public function update_schema() |
||
29 | { |
||
30 | return array( |
||
31 | 'drop_columns' => array( |
||
32 | $this->table_prefix . 'sm_content_types' => array( |
||
33 | 'allow_comments', |
||
34 | ), |
||
35 | ), |
||
36 | 'add_columns' => array( |
||
37 | $this->table_prefix . 'sm_content_types' => array( |
||
38 | 'comments' => array('VCHAR:155', '', 'after' => 'content_view_settings'), |
||
39 | 'comments_settings' => array('VCHAR:255', '', 'after' => 'comments'), |
||
40 | ), |
||
66 |