| @@ 15-31 (lines=17) @@ | ||
| 12 | ||
| 13 | namespace ernadoo\qte\migrations\v200; |
|
| 14 | ||
| 15 | class alpha2 extends \phpbb\db\migration\migration |
|
| 16 | { |
|
| 17 | static public function depends_on() |
|
| 18 | { |
|
| 19 | return array( |
|
| 20 | '\ernadoo\qte\migrations\v200\alpha1', |
|
| 21 | '\ernadoo\qte\migrations\v200\drop_columns', |
|
| 22 | ); |
|
| 23 | } |
|
| 24 | ||
| 25 | public function update_data() |
|
| 26 | { |
|
| 27 | return array( |
|
| 28 | array('config.update', array('qte_version', '2.0.0-a2')), |
|
| 29 | ); |
|
| 30 | } |
|
| 31 | } |
|
| 32 | ||
| @@ 15-32 (lines=18) @@ | ||
| 12 | ||
| 13 | namespace ernadoo\qte\migrations\v200; |
|
| 14 | ||
| 15 | class dev extends \phpbb\db\migration\migration |
|
| 16 | { |
|
| 17 | static public function depends_on() |
|
| 18 | { |
|
| 19 | return array( |
|
| 20 | '\ernadoo\qte\migrations\v12x\v125', |
|
| 21 | '\phpbb\db\migration\data\v310\gold', |
|
| 22 | '\ernadoo\qte\migrations\v200\convert_old_modules', |
|
| 23 | ); |
|
| 24 | } |
|
| 25 | ||
| 26 | public function update_data() |
|
| 27 | { |
|
| 28 | return array( |
|
| 29 | array('config.update', array('qte_version', '2.0.0-dev')), |
|
| 30 | ); |
|
| 31 | } |
|
| 32 | } |
|
| 33 | ||