From 841dd6b19f08a575fe6d6e4794bdb9729e2ce6b8 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 13 Oct 2013 11:33:59 +0200 Subject: [feature/passwords] Modify forum_password column type for new hash types PHPBB3-11610 --- phpBB/phpbb/db/migration/data/v310/passwords.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'phpBB/phpbb/db/migration/data') 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', ''), ), ), ); -- cgit v1.2.1