mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 12:46:38 +02:00
[ticket/11485] add columns to styles table during updating schema before
updating the data PHPBB3-10485
This commit is contained in:
@ -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(
|
||||||
|
Reference in New Issue
Block a user