You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
380 B
14 lines
380 B
3 years ago
|
class AddTrackableToAdminUser < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
change_table :admin_users, bulk: true do |t|
|
||
|
t.string :name
|
||
|
## Trackable
|
||
|
t.integer :sign_in_count, default: 0, null: false
|
||
|
t.datetime :current_sign_in_at
|
||
|
t.datetime :last_sign_in_at
|
||
|
t.string :current_sign_in_ip
|
||
|
t.string :last_sign_in_ip
|
||
|
end
|
||
|
end
|
||
|
end
|