Sha256: 4f5515878c7404de467fce49f469737b4b6d9a7249d3211fdeeff00056085228

Contents?: true

Size: 219 Bytes

Versions: 16

Compression:

Stored size: 219 Bytes

Contents

class AddAuthenticateBruteForceToUsers < ActiveRecord::Migration
  def change
    add_column :users, :failed_logins_count, :integer, default: 0
    add_column :users, :lock_expires_at, :datetime, default: nil
  end
end

Version data entries

16 entries across 14 versions & 1 rubygems

Version Path
authenticate-0.7.1 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.7.0 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.6.1 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.6.0 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.5.0 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.4.0 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.3.3 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.3.2 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.3.1 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.3.0 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.2.3 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.2.2 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.2.1 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_brute_force_to_users.rb
authenticate-0.2.1 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.2.0 spec/dummy/db/migrate/20160130192729_add_authenticate_brute_force_to_users.rb
authenticate-0.2.0 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_brute_force_to_users.rb