projects
/
platal.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Change sorting order on ML display to use sort_name.
[platal.git]
/
upgrade
/
1.1.12
/
08_correct_birthdate.sql
Commit
Line
Data
f49bd104
AL
1
UPDATE profiles as p
2
LEFT JOIN account_profiles AS ap ON p.pid = ap.pid
3
LEFT JOIN accounts AS a ON a.uid = ap.uid
4
SET p.birthdate = p.birthdate_ref
5
WHERE p.birthdate_ref AND NOT p.birthdate AND a.state = 'active';