@@ -13,16 +13,16 @@ discard block |
||
13 | 13 | class m4_indexes extends \phpbb\db\migration\migration |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function effectively_installed() |
19 | 19 | { |
20 | 20 | return $this->db_tools->sql_index_exists($this->table_prefix . 'ads', 'ad_enabled'); |
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * {@inheritDoc} |
|
25 | - */ |
|
24 | + * {@inheritDoc} |
|
25 | + */ |
|
26 | 26 | static public function depends_on() |
27 | 27 | { |
28 | 28 | return array( |
@@ -32,11 +32,11 @@ discard block |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * Add the indexes |
|
36 | - * |
|
37 | - * @return array Array of altered table schema |
|
38 | - * @access public |
|
39 | - */ |
|
35 | + * Add the indexes |
|
36 | + * |
|
37 | + * @return array Array of altered table schema |
|
38 | + * @access public |
|
39 | + */ |
|
40 | 40 | public function update_schema() |
41 | 41 | { |
42 | 42 | return array( |
@@ -52,11 +52,11 @@ discard block |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * Drop the indexes |
|
56 | - * |
|
57 | - * @return array Array of altered table schema |
|
58 | - * @access public |
|
59 | - */ |
|
55 | + * Drop the indexes |
|
56 | + * |
|
57 | + * @return array Array of altered table schema |
|
58 | + * @access public |
|
59 | + */ |
|
60 | 60 | public function revert_schema() |
61 | 61 | { |
62 | 62 | return array( |
@@ -13,30 +13,30 @@ discard block |
||
13 | 13 | class m3_template_locations_schema extends \phpbb\db\migration\migration |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function effectively_installed() |
19 | 19 | { |
20 | 20 | return $this->db_tools->sql_table_exists($this->table_prefix . 'ad_locations'); |
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * {@inheritDoc} |
|
25 | - */ |
|
24 | + * {@inheritDoc} |
|
25 | + */ |
|
26 | 26 | static public function depends_on() |
27 | 27 | { |
28 | 28 | return array('\phpbb\admanagement\migrations\v10x\m1_initial_schema'); |
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * Add the ad_locations table schema to the database: |
|
33 | - * ad_locations: |
|
34 | - * ad_id |
|
35 | - * location_id |
|
36 | - * |
|
37 | - * @return array Array of table schema |
|
38 | - * @access public |
|
39 | - */ |
|
32 | + * Add the ad_locations table schema to the database: |
|
33 | + * ad_locations: |
|
34 | + * ad_id |
|
35 | + * location_id |
|
36 | + * |
|
37 | + * @return array Array of table schema |
|
38 | + * @access public |
|
39 | + */ |
|
40 | 40 | public function update_schema() |
41 | 41 | { |
42 | 42 | return array( |
@@ -53,11 +53,11 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * Drop the ad_locations table schema from the database |
|
57 | - * |
|
58 | - * @return array Array of table schema |
|
59 | - * @access public |
|
60 | - */ |
|
56 | + * Drop the ad_locations table schema from the database |
|
57 | + * |
|
58 | + * @return array Array of table schema |
|
59 | + * @access public |
|
60 | + */ |
|
61 | 61 | public function revert_schema() |
62 | 62 | { |
63 | 63 | return array( |