Clean up member_auth_mail table schema, adding auth_type column

This commit is contained in:
Kijin Sung 2023-11-28 22:08:22 +09:00
parent c2311f88be
commit b934b8638f
5 changed files with 41 additions and 7 deletions

View file

@ -4,6 +4,9 @@
</tables>
<conditions>
<condition operation="equal" column="member_srl" var="member_srl" notnull="notnull" />
<condition operation="equal" column="new_password" default="XE_change_emaill_address" notnull="notnull" pipe="and" />
<group pipe="and">
<condition operation="equal" column="new_password" default="XE_change_emaill_address" />
<condition operation="equal" column="auth_type" default="change_email" pipe="or" />
</group>
</conditions>
</query>

View file

@ -3,10 +3,11 @@
<table name="member_auth_mail" />
</tables>
<columns>
<column name="auth_key" var="auth_key" notnull="notnull" minlength="1" maxlength="60" />
<column name="member_srl" var="member_srl" filter="number" notnull="notnull" />
<column name="user_id" var="user_id" notnull="notnull" />
<column name="auth_key" var="auth_key" notnull="notnull" minlength="1" maxlength="60" />
<column name="new_password" var="new_password" notnull="notnull" />
<column name="auth_type" var="auth_type" default="password_v1" />
<column name="is_register" var="is_register" default="N" />
<column name="regdate" default="curdate()" />
</columns>