20120706065612_add_lockable_to_users.rb 184 Bytes
Newer Older
1 2 3 4 5 6
class AddLockableToUsers < ActiveRecord::Migration
  def change
    add_column :users, :failed_attempts, :integer, :default => 0
    add_column :users, :locked_at, :datetime
  end
end