Added field to track users last login (#2367)

This commit is contained in:
Ahmad Farhat
2020-12-14 18:52:08 -05:00
committed by GitHub
parent 7a2405aa9e
commit 14350c5f5d
5 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddLastLoginToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :last_login, :datetime
end
end