Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | public function update_schema() |
||
41 | { |
||
42 | return array( |
||
43 | 'add_index' => array( |
||
44 | $this->table_prefix . 'ads' => array( |
||
45 | 'ad_enabled' => array('ad_enabled'), // index used in ad\manager::get_ads |
||
46 | ), |
||
47 | $this->table_prefix . 'ad_locations' => array( |
||
48 | 'location_id' => array('location_id'), // index used in ad\manager::get_ads |
||
49 | ), |
||
50 | ), |
||
51 | ); |
||
52 | } |
||
53 | |||
74 |