diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2013-04-09 15:22:14 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2013-04-09 15:39:17 +0530 |
commit | 7c261f64dc14eaa7321d824e8e75271c5c6a191e (patch) | |
tree | 1b707290e8bdcadd03fdc017965578792382910d /phpBB/includes/db | |
parent | 52a0f32d99bf87075049600b15c40147ab698a61 (diff) | |
download | forums-7c261f64dc14eaa7321d824e8e75271c5c6a191e.tar forums-7c261f64dc14eaa7321d824e8e75271c5c6a191e.tar.gz forums-7c261f64dc14eaa7321d824e8e75271c5c6a191e.tar.bz2 forums-7c261f64dc14eaa7321d824e8e75271c5c6a191e.tar.xz forums-7c261f64dc14eaa7321d824e8e75271c5c6a191e.zip |
[ticket/11485] add columns to styles table during updating schema before
updating the data
PHPBB3-10485
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r-- | phpBB/includes/db/migration/data/310/style_update_p1.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/includes/db/migration/data/310/style_update_p1.php b/phpBB/includes/db/migration/data/310/style_update_p1.php index e324ce7f24..9a936e5f53 100644 --- a/phpBB/includes/db/migration/data/310/style_update_p1.php +++ b/phpBB/includes/db/migration/data/310/style_update_p1.php @@ -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'); } + 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() { return array( |