Version 0.9.8
This commit is contained in:
@@ -58,23 +58,13 @@ class v094_beta_update extends \phpbb\db\migration\migration
|
||||
{
|
||||
return array(
|
||||
'drop_columns' => array(
|
||||
$this->table_prefix . 'groups' => array(
|
||||
'group_teampage',
|
||||
),
|
||||
$this->table_prefix . 'sessions' => array(
|
||||
'football_season',
|
||||
'football_league',
|
||||
'football_matchday',
|
||||
'football_mobile',
|
||||
'football_mobile_device',
|
||||
),
|
||||
$this->table_prefix . 'footb_bets' => array(
|
||||
'bet_time',
|
||||
),
|
||||
$this->table_prefix . 'footb_matches' => array(
|
||||
'trend',
|
||||
'odd_1',
|
||||
'odd_x',
|
||||
'odd_2',
|
||||
'rating',
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
30
migrations/v098_beta.php
Normal file
30
migrations/v098_beta.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Football Football v0.98
|
||||
* @copyright (c) 2017 football (http://football.bplaced.net)
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace football\football\migrations;
|
||||
|
||||
class v098_beta extends \phpbb\db\migration\migration
|
||||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
return isset($this->config['football_version']) && version_compare($this->config['football_version'], '0.9.8', '>=');
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
{
|
||||
return array('\football\football\migrations\v097_beta');
|
||||
}
|
||||
|
||||
public function update_data()
|
||||
{
|
||||
return array(
|
||||
array('config.update', array('football_version', '0.9.8', '0')),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user