diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-09-27 16:58:06 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-09-27 16:58:06 +0200 |
commit | 5bc5e4716cc7437941e9cdb6a2b15ed1f4f19b95 (patch) | |
tree | 4812304e01f8bf9cdcbe7da0b34fcf98829a6cc7 /phpBB/phpbb/db/migration/data/v310/passwords.php | |
parent | 3f63b9b470b2848abdd6288a45ca56331a3bb77c (diff) | |
download | forums-5bc5e4716cc7437941e9cdb6a2b15ed1f4f19b95.tar forums-5bc5e4716cc7437941e9cdb6a2b15ed1f4f19b95.tar.gz forums-5bc5e4716cc7437941e9cdb6a2b15ed1f4f19b95.tar.bz2 forums-5bc5e4716cc7437941e9cdb6a2b15ed1f4f19b95.tar.xz forums-5bc5e4716cc7437941e9cdb6a2b15ed1f4f19b95.zip |
[feature/passwords] More changes due to namespacing
PHPBB3-11610
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v310/passwords.php')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v310/passwords.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/passwords.php b/phpBB/phpbb/db/migration/data/v310/passwords.php new file mode 100644 index 0000000000..c422f681ba --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v310/passwords.php @@ -0,0 +1,40 @@ +<?php +/** +* +* @package migration +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 +* +*/ + +namespace phpbb\db\migration\data\v310; + +class passwords extends \phpbb\db\migration\migration +{ + static public function depends_on() + { + return array('\phpbb\db\migration\data\v30x\release_3_0_11'); + } + + public function update_schema() + { + return array( + 'change_columns' => array( + $this->table_prefix . 'users' => array( + 'user_password' => array('VCHAR:255', ''), + ), + ), + ); + } + + public function revert_schema() + { + return array( + 'change_columns' => array( + $this->table_prefix . 'users' => array( + 'user_password' => array('VCHAR:40', ''), + ), + ), + ); + } +} |