diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2013-04-09 15:38:28 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2013-04-09 15:39:26 +0530 |
commit | 5a4438d486bc9a8738765fb671e584e269353c06 (patch) | |
tree | 678823b714d777b507033d51d3c31ceb7d909d7c /phpBB | |
parent | 7c261f64dc14eaa7321d824e8e75271c5c6a191e (diff) | |
download | forums-5a4438d486bc9a8738765fb671e584e269353c06.tar forums-5a4438d486bc9a8738765fb671e584e269353c06.tar.gz forums-5a4438d486bc9a8738765fb671e584e269353c06.tar.bz2 forums-5a4438d486bc9a8738765fb671e584e269353c06.tar.xz forums-5a4438d486bc9a8738765fb671e584e269353c06.zip |
[ticket/11485] add revert_schema for the updated columns
PHPBB3-11485
Diffstat (limited to 'phpBB')
-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 9a936e5f53..d43537559d 100644 --- a/phpBB/includes/db/migration/data/310/style_update_p1.php +++ b/phpBB/includes/db/migration/data/310/style_update_p1.php @@ -33,6 +33,20 @@ class phpbb_db_migration_data_310_style_update_p1 extends phpbb_db_migration ); } + public function revert_schema() + { + return array( + 'drop_columns' => array( + $this->table_prefix . 'styles' => array( + 'style_path', + 'bbcode_bitfield', + 'style_parent_id', + 'style_parent_tree', + ), + ), + ); + } + public function update_data() { return array( |