7 lines
184 B
Ruby
7 lines
184 B
Ruby
class AddLockableToUsers < ActiveRecord::Migration
|
|
def change
|
|
add_column :users, :failed_attempts, :integer, :default => 0
|
|
add_column :users, :locked_at, :datetime
|
|
end
|
|
end
|