1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[feature/passwords] Modify forum_password column type for new hash types

PHPBB3-11610
This commit is contained in:
Marc Alexander
2013-10-13 11:33:59 +02:00
parent b795ce8b7d
commit 841dd6b19f
9 changed files with 18 additions and 12 deletions

View File

@@ -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', ''),
),
),
);