mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
13 lines
369 B
Ruby
13 lines
369 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddDeviseTrackableColumnsToUsers < ActiveRecord::Migration[7.2]
|
|
def change
|
|
change_table :users, bulk: true do |t|
|
|
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
|