aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-08-30 07:06:18 +0200
committerRubén Calvo <rubencm@gmail.com>2018-08-30 07:06:18 +0200
commitb79aa3e147506f6e861bc777d40d758ee83d33c8 (patch)
tree5adcb5d5a8818ba244a9124256ff93b1444e8ed7
parentbd90a5358969e2bb82df34727ed8f6575781e5d2 (diff)
downloadforums-b79aa3e147506f6e861bc777d40d758ee83d33c8.tar
forums-b79aa3e147506f6e861bc777d40d758ee83d33c8.tar.gz
forums-b79aa3e147506f6e861bc777d40d758ee83d33c8.tar.bz2
forums-b79aa3e147506f6e861bc777d40d758ee83d33c8.tar.xz
forums-b79aa3e147506f6e861bc777d40d758ee83d33c8.zip
[ticket/15762] Update type for forum_topics_per_page
PHPBB3-15762
-rw-r--r--phpBB/phpbb/db/migration/data/v32x/forum_topics_per_page_type.php37
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..b9b88bac29
--- /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\v323rc2',
+ );
+ }
+
+ public function update_schema()
+ {
+ return array(
+ 'change_columns' => array(
+ $this->table_prefix . 'forums' => array(
+ 'forum_topics_per_page' => array('USINT', 0),
+ ),
+ ),
+ );
+ }
+
+}