1 | <?php |
||
13 | class m9_views_clicks extends \phpbb\db\migration\migration |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | */ |
||
18 | public function effectively_installed() |
||
22 | |||
23 | /** |
||
24 | * {@inheritDoc} |
||
25 | */ |
||
26 | static public function depends_on() |
||
30 | |||
31 | /** |
||
32 | * Add the views and clicks to ads table |
||
33 | * |
||
34 | * @return array Array of table schema |
||
35 | * @access public |
||
36 | */ |
||
37 | public function update_schema() |
||
50 | |||
51 | /** |
||
52 | * Drop the views and clicks from ads table |
||
53 | * |
||
54 | * @return array Array of table schema |
||
55 | * @access public |
||
56 | */ |
||
57 | public function revert_schema() |
||
70 | |||
71 | /** |
||
72 | * Add phpbb_ads_enable_views and phpbb_ads_enable_clicks config |
||
73 | * |
||
74 | * @return array Array of data update instructions |
||
75 | */ |
||
76 | public function update_data() |
||
83 | } |
||
84 |