mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11485] add columns to styles table during updating schema before
updating the data PHPBB3-10485
This commit is contained in:
parent
52a0f32d99
commit
7c261f64dc
1 changed files with 14 additions and 0 deletions
|
@ -19,6 +19,20 @@ class phpbb_db_migration_data_310_style_update_p1 extends phpbb_db_migration
|
||||||
return array('phpbb_db_migration_data_30x_3_0_11');
|
return array('phpbb_db_migration_data_30x_3_0_11');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function update_schema()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'add_columns' => array(
|
||||||
|
$this->table_prefix . 'styles' => array(
|
||||||
|
'style_path' => array('VCHAR:100', ''),
|
||||||
|
'bbcode_bitfield' => array('VCHAR:255', 'kNg='),
|
||||||
|
'style_parent_id' => array('UINT', 0),
|
||||||
|
'style_parent_tree' => array('TEXT', ''),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue