You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's always nice to have the last of some user. For example, last seen would be the USERS' most recently created SESSION_ACTIVITIES record. This could be a column derived in a VIEW and could easily be rendered as a relationship to a USERS record.
CREATEVIEWusers_last_activitiesASSELECTusers.id,
(
SELECTMAX(sa.created_at)
FROM session_activities sa INNER JOIN sessions s
ONsa.session_id=s.idWHEREs.user_id=users.id
),
...
FROM users
Other last ideas from projects I've worked on:
last emailed
last IP
last browser
The text was updated successfully, but these errors were encountered:
It's always nice to have the last of some user. For example, last seen would be the
USERS
' most recently createdSESSION_ACTIVITIES
record. This could be a column derived in aVIEW
and could easily be rendered as a relationship to aUSERS
record.Other last ideas from projects I've worked on:
The text was updated successfully, but these errors were encountered: