mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/migrations] Process migration steps and move to PHP5 code
This commit is contained in:
committed by
Nathan Guse
parent
82efb3e446
commit
41de95bc11
@@ -27,6 +27,13 @@ class phpbb_dbal_migration_dummy extends phpbb_db_migration
|
||||
|
||||
function update_data()
|
||||
{
|
||||
$this->db->sql_query('UPDATE phpbb_config SET extra_column = 1');
|
||||
return array(
|
||||
array('if', array(true, array('custom', array(array($this, 'set_extra_column'))))),
|
||||
);
|
||||
}
|
||||
|
||||
public function set_extra_column()
|
||||
{
|
||||
$this->sql_query('UPDATE phpbb_config SET extra_column = 1');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user