mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Resize new_password column of member_auth_mail table to varchar(250)
This commit is contained in:
parent
a40c5d82b6
commit
e08e4fcdad
1 changed files with 8 additions and 0 deletions
|
|
@ -125,6 +125,10 @@ class Member extends ModuleObject
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if($oDB->getColumnInfo('member_auth_mail', 'new_password')->size < 250)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Add columns for phone number
|
// Add columns for phone number
|
||||||
if(!$oDB->isColumnExists("member", "phone_number")) return true;
|
if(!$oDB->isColumnExists("member", "phone_number")) return true;
|
||||||
|
|
@ -256,6 +260,10 @@ class Member extends ModuleObject
|
||||||
{
|
{
|
||||||
$oDB->modifyColumn('member', 'password', 'varchar', 250, null, true);
|
$oDB->modifyColumn('member', 'password', 'varchar', 250, null, true);
|
||||||
}
|
}
|
||||||
|
if($oDB->getColumnInfo('member_auth_mail', 'new_password')->size < 250)
|
||||||
|
{
|
||||||
|
$oDB->modifyColumn('member_auth_mail', 'new_password', 'varchar', 250, null, true);
|
||||||
|
}
|
||||||
|
|
||||||
// Add columns for phone number
|
// Add columns for phone number
|
||||||
if(!$oDB->isColumnExists("member", "phone_number"))
|
if(!$oDB->isColumnExists("member", "phone_number"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue