aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-10-13 11:33:59 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-10-13 12:05:55 +0200
commit841dd6b19f08a575fe6d6e4794bdb9729e2ce6b8 (patch)
tree52ea9a6b77a29195707c2b308717926b941ebac1 /phpBB/phpbb
parentb795ce8b7dec4831de702947c97ad698aec5bbe2 (diff)
downloadforums-841dd6b19f08a575fe6d6e4794bdb9729e2ce6b8.tar
forums-841dd6b19f08a575fe6d6e4794bdb9729e2ce6b8.tar.gz
forums-841dd6b19f08a575fe6d6e4794bdb9729e2ce6b8.tar.bz2
forums-841dd6b19f08a575fe6d6e4794bdb9729e2ce6b8.tar.xz
forums-841dd6b19f08a575fe6d6e4794bdb9729e2ce6b8.zip
[feature/passwords] Modify forum_password column type for new hash types
PHPBB3-11610
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/passwords.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/passwords.php b/phpBB/phpbb/db/migration/data/v310/passwords.php
index c422f681ba..3422f75917 100644
--- a/phpBB/phpbb/db/migration/data/v310/passwords.php
+++ b/phpBB/phpbb/db/migration/data/v310/passwords.php
@@ -20,8 +20,11 @@ class passwords extends \phpbb\db\migration\migration
{
return array(
'change_columns' => array(
- $this->table_prefix . 'users' => array(
- 'user_password' => array('VCHAR:255', ''),
+ $this->table_prefix . 'users' => array(
+ 'user_password' => array('VCHAR:255', ''),
+ ),
+ $this->table_prefix . 'forums' => array(
+ 'forum_password' => array('VCHAR:255', ''),
),
),
);
@@ -31,8 +34,11 @@ class passwords extends \phpbb\db\migration\migration
{
return array(
'change_columns' => array(
- $this->table_prefix . 'users' => array(
- 'user_password' => array('VCHAR:40', ''),
+ $this->table_prefix . 'users' => array(
+ 'user_password' => array('VCHAR:40', ''),
+ ),
+ $this->table_prefix . 'forums' => array(
+ 'forum_password' => array('VCHAR:40', ''),
),
),
);