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:
@@ -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', ''),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user