diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-01-08 16:39:03 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-08 16:39:03 +0100 |
commit | 2ab7b124193ab87eeca8eef5d0e50eebd37d3336 (patch) | |
tree | 4aabe8b4c9cca150d732da6b86e9f2dc244cf26a /phpBB/phpbb | |
parent | ae18f8b27c20ab079af0694e799e78ee4c05977c (diff) | |
parent | a339b9e84faf1db97e4a9c6637ae974f90a3ad6b (diff) | |
download | forums-2ab7b124193ab87eeca8eef5d0e50eebd37d3336.tar forums-2ab7b124193ab87eeca8eef5d0e50eebd37d3336.tar.gz forums-2ab7b124193ab87eeca8eef5d0e50eebd37d3336.tar.bz2 forums-2ab7b124193ab87eeca8eef5d0e50eebd37d3336.tar.xz forums-2ab7b124193ab87eeca8eef5d0e50eebd37d3336.zip |
Merge pull request #4112 from marc1706/ticket/13180
[ticket/13180] Increase dateformat field size
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v31x/increase_size_of_dateformat.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v31x/increase_size_of_dateformat.php b/phpBB/phpbb/db/migration/data/v31x/increase_size_of_dateformat.php new file mode 100644 index 0000000000..634e50ff19 --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v31x/increase_size_of_dateformat.php @@ -0,0 +1,35 @@ +<?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\v31x; + +class increase_size_of_dateformat extends \phpbb\db\migration\migration +{ + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v31x\v316', + ); + } + + public function update_schema() + { + return array( + 'change_columns' => array( + $this->table_prefix . 'users' => array( + 'user_dateformat' => array('VCHAR:64', 'd M Y H:i'), + ), + ), + ); + } +} |