mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-10 22:52:37 +01:00
Record and show the last time users have logged in
This commit is contained in:
parent
950da89d76
commit
1936c90c95
4 changed files with 10 additions and 1 deletions
5
db/migrate/20200810123316_add_lastlogin_to_user.rb
Normal file
5
db/migrate/20200810123316_add_lastlogin_to_user.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddLastloginToUser < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :users, :last_login_at, :datetime
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue