1 | <?php |
||
16 | class m2_track_user_id extends \phpbb\db\migration\migration |
||
17 | { |
||
18 | /** |
||
19 | * Assign migration file dependencies for this migration |
||
20 | * |
||
21 | * @return array Array of migration files |
||
22 | * @static |
||
23 | * @access public |
||
24 | */ |
||
25 | static public function depends_on() |
||
26 | { |
||
27 | return array( |
||
28 | '\phpbb\db\migration\data\v310\gold', |
||
29 | '\phpbb\googleanalytics\migrations\v10x\m1_initial_data' |
||
30 | ); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Check if the migration is effectively installed |
||
35 | * |
||
36 | * @return bool True if this migration is installed, False if this migration is not installed |
||
37 | */ |
||
38 | public function effectively_installed() |
||
42 | |||
43 | /** |
||
44 | * Add Google Analytics data to the database. |
||
45 | * |
||
46 | * @return array Array of table data |
||
47 | * @access public |
||
48 | */ |
||
49 | public function update_data() |
||
55 | } |
||
56 |