bug fixed
This commit is contained in:
parent
92eb996bbd
commit
2e051c3673
|
@ -96,13 +96,13 @@ impl Composition {
|
|||
_m.deleted_at as _m_deleted_at
|
||||
|
||||
FROM members as m
|
||||
JOIN sites s
|
||||
INNER JOIN sites s
|
||||
ON s.id = m.site_id
|
||||
JOIN member_classes mc
|
||||
INNER JOIN member_classes mc
|
||||
ON mc.id = m.member_class_id
|
||||
JOIN member_levels ml
|
||||
INNER JOIN member_levels ml
|
||||
ON ml.id = m.member_level_id
|
||||
JOIN members _m
|
||||
LEFT OUTER JOIN members _m
|
||||
ON _m.id = m.referrer_member_id
|
||||
WHERE
|
||||
m.id = $1
|
||||
|
@ -190,13 +190,13 @@ impl Composition {
|
|||
_m.deleted_at as _m_deleted_at
|
||||
|
||||
FROM members as m
|
||||
JOIN sites s
|
||||
INNER JOIN sites s
|
||||
ON s.id = m.site_id
|
||||
JOIN member_classes mc
|
||||
INNER JOIN member_classes mc
|
||||
ON mc.id = m.member_class_id
|
||||
JOIN member_levels ml
|
||||
INNER JOIN member_levels ml
|
||||
ON ml.id = m.member_level_id
|
||||
JOIN members _m
|
||||
LEFT OUTER JOIN members _m
|
||||
ON _m.id = m.referrer_member_id
|
||||
WHERE
|
||||
m.username = $1
|
||||
|
|
Loading…
Reference in New Issue
Block a user