Change sorting order on ML display to use sort_name.
[platal.git] / upgrade / 1.1.12 / 08_correct_birthdate.sql
CommitLineData
f49bd104
AL
1UPDATE profiles as p
2LEFT JOIN account_profiles AS ap ON p.pid = ap.pid
3LEFT JOIN accounts AS a ON a.uid = ap.uid
4SET p.birthdate = p.birthdate_ref
5WHERE p.birthdate_ref AND NOT p.birthdate AND a.state = 'active';