mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/migrations] Return schema changes in database update style array
Returning the set of schema changes allows potentially aggregating to generate the overall install schema automatically from a set of migrations PHPBB3-9737
This commit is contained in:
committed by
Nathan Guse
parent
d304b6449d
commit
8645321f40
@@ -16,7 +16,13 @@ class phpbb_dbal_migration_dummy extends phpbb_db_migration
|
||||
|
||||
function update_schema()
|
||||
{
|
||||
$this->db_column_add('phpbb_config', 'extra_column', array('UINT', 0));
|
||||
return array(
|
||||
'add_columns' => array(
|
||||
'phpbb_config' => array(
|
||||
'extra_column' => array('UINT', 0),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
function update_data()
|
||||
|
Reference in New Issue
Block a user