| @@ 22-31 (lines=10) @@ | ||
| 19 | return isset($this->config['allow_quick_edit']); |
|
| 20 | } |
|
| 21 | ||
| 22 | public function update_schema() |
|
| 23 | { |
|
| 24 | return array( |
|
| 25 | 'change_columns' => array( |
|
| 26 | $this->table_prefix . 'forums' => array( |
|
| 27 | 'forum_flags' => array('UINT', 32), |
|
| 28 | ), |
|
| 29 | ), |
|
| 30 | ); |
|
| 31 | } |
|
| 32 | ||
| 33 | public function revert_schema() |
|
| 34 | { |
|
| @@ 33-42 (lines=10) @@ | ||
| 30 | ); |
|
| 31 | } |
|
| 32 | ||
| 33 | public function revert_schema() |
|
| 34 | { |
|
| 35 | return array( |
|
| 36 | 'change_columns' => array( |
|
| 37 | $this->table_prefix . 'forums' => array( |
|
| 38 | 'forum_flags' => array('TINT:4', 32), |
|
| 39 | ), |
|
| 40 | ), |
|
| 41 | ); |
|
| 42 | } |
|
| 43 | ||
| 44 | static public function depends_on() |
|
| 45 | { |
|