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