diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-10-09 08:07:49 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-10-09 08:07:49 +0200 |
commit | ae672b0c7f451fde9dec69ba0a376ee55960b0d8 (patch) | |
tree | 0a64b5c1b4dd97490157f532ef5659acf31300f8 /phpBB/phpbb/db/migration/data | |
parent | 6e61804e45f8b964061861731e82f1bf3cfd5f52 (diff) | |
parent | 582c1f35626383592aef9aef413c911d4803475d (diff) | |
download | forums-ae672b0c7f451fde9dec69ba0a376ee55960b0d8.tar forums-ae672b0c7f451fde9dec69ba0a376ee55960b0d8.tar.gz forums-ae672b0c7f451fde9dec69ba0a376ee55960b0d8.tar.bz2 forums-ae672b0c7f451fde9dec69ba0a376ee55960b0d8.tar.xz forums-ae672b0c7f451fde9dec69ba0a376ee55960b0d8.zip |
Merge pull request #5326 from rubencm/ticket/15762
[ticket/15762] Update type for forum_topics_per_page
Diffstat (limited to 'phpBB/phpbb/db/migration/data')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v32x/forum_topics_per_page_type.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/forum_topics_per_page_type.php b/phpBB/phpbb/db/migration/data/v32x/forum_topics_per_page_type.php new file mode 100644 index 0000000000..afcecf2ef0 --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v32x/forum_topics_per_page_type.php @@ -0,0 +1,37 @@ +<?php +/** +* +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +namespace phpbb\db\migration\data\v32x; + +class forum_topics_per_page_type extends \phpbb\db\migration\migration +{ + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v32x\v323', + ); + } + + public function update_schema() + { + return array( + 'change_columns' => array( + $this->table_prefix . 'forums' => array( + 'forum_topics_per_page' => array('USINT', 0), + ), + ), + ); + } + +} |