Sha256: 570a46843784eb5cb331be3e0dcdded9e55b25c5e8c00979084d3ad9e2e1c45a

Contents?: true

Size: 384 Bytes

Versions: 35

Compression:

Stored size: 384 Bytes

Contents

# Used by the lockout feature
create_table :account_login_failures<%= primary_key_type %> do |t|
  t.foreign_key :accounts, column: :id
  t.integer :number, null: false, default: 1
end
create_table :account_lockouts<%= primary_key_type %> do |t|
  t.foreign_key :accounts, column: :id
  t.string :key, null: false
  t.datetime :deadline, null: false
  t.datetime :email_last_sent
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
rodauth-rails-1.5.5 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.5.4 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.5.2 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.5.1 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.5.0 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.4.2 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.4.1 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.4.0 lib/generators/rodauth/migration/active_record/lockout.erb
rodauth-rails-1.3.1 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-1.3.0 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-1.2.2 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-1.2.1 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-1.2.0 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-1.1.0 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-1.0.0 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-0.18.1 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-0.18.0 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-0.17.1 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-0.17.0 lib/generators/rodauth/migration/lockout.erb
rodauth-rails-0.16.0 lib/generators/rodauth/migration/lockout.erb