Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class release_1_1_0_schema extends \phpbb\db\migration\migration |
||
|
|||
14 | { |
||
15 | public function effectively_installed() |
||
16 | { |
||
17 | return $this->db_tools->sql_column_exists($this->table_prefix . 'forums', 'similar_topic_forums'); |
||
18 | } |
||
19 | |||
20 | public static function depends_on() |
||
23 | } |
||
24 | |||
25 | public function update_schema() |
||
26 | { |
||
27 | return array( |
||
28 | 'add_columns' => array( |
||
29 | $this->table_prefix . 'forums' => array( |
||
30 | 'similar_topic_forums' => array('VCHAR_UNI', ''), |
||
31 | ), |
||
32 | ), |
||
33 | ); |
||
34 | } |
||
35 | |||
36 | public function revert_schema() |
||
42 | ), |
||
43 | ), |
||
44 | ); |
||
47 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths