mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Cleanup related to phone country change
This commit is contained in:
parent
0e9ce525da
commit
1db4a9d752
9 changed files with 60 additions and 8 deletions
11
modules/member/queries/getMemberCountByPhoneCountry.xml
Normal file
11
modules/member/queries/getMemberCountByPhoneCountry.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getMemberCountByPhoneCountry" action="select">
|
||||
<tables>
|
||||
<table name="member" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="phone_country" var="phone_country" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/member/queries/updateMemberPhoneCountry.xml
Normal file
11
modules/member/queries/updateMemberPhoneCountry.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateMemberPhoneCountry" action="update">
|
||||
<tables>
|
||||
<table name="member" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="phone_country" var="new_phone_country" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="phone_country" var="old_phone_country" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue