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
last_login column is not being populated correctly in account_users table
Reproduce the bug
It exists on integration server. In development environment if you login to chobby and then check the database you will see the last_login column is null, but the last_login_timex column is not empty.
Screenshots
No response
Additional context
The code for populated the last_login column looks like this:
user = %{
user
| last_login: round(System.system_time(:second) / 60),
last_login_timex: Timex.now(),
I'm unsure why we have both these columns. Perhaps last_login should just use Timex.now() ?
The text was updated successfully, but these errors were encountered:
Describe the Bug
last_login column is not being populated correctly in account_users table
Reproduce the bug
It exists on integration server. In development environment if you login to chobby and then check the database you will see the last_login column is null, but the last_login_timex column is not empty.
Screenshots
No response
Additional context
The code for populated the last_login column looks like this:
I'm unsure why we have both these columns. Perhaps last_login should just use Timex.now() ?
The text was updated successfully, but these errors were encountered: