Sha256: 98af3e2e1827e012a030fa426eeb2999485ce908f1ac51466b7f7220eed07ef4

Contents?: true

Size: 436 Bytes

Versions: 32

Compression:

Stored size: 436 Bytes

Contents

# Used by the lockout feature
create_table :<%= table_prefix %>_login_failures do
  foreign_key :id, :<%= table_prefix.pluralize %>, primary_key: true, type: :Bignum
  Integer :number, null: false, default: 1
end
create_table :<%= table_prefix %>_lockouts do
  foreign_key :id, :<%= table_prefix.pluralize %>, primary_key: true, type: :Bignum
  String :key, null: false
  DateTime :deadline, null: false
  DateTime :email_last_sent
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
rodauth-rails-1.15.2 lib/generators/rodauth/migration/sequel/lockout.erb
rodauth-rails-1.15.1 lib/generators/rodauth/migration/sequel/lockout.erb
rodauth-rails-1.15.0 lib/generators/rodauth/migration/sequel/lockout.erb
plutonium-0.12.14 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.13 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.12 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.11 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.10 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.9 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.8 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.7 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.5 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.4 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.3 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.2 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.1 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.12.0 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.11.2 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.11.1 lib/generators/pu/rodauth/migration/sequel/lockout.erb
plutonium-0.11.0 lib/generators/pu/rodauth/migration/sequel/lockout.erb