Sha256: be2349f46fc751483eb561207520f0d2c691c8ca026f47a71bb18ed9b16a3951

Contents?: true

Size: 318 Bytes

Versions: 32

Compression:

Stored size: 318 Bytes

Contents

# Used by the sms codes feature
create_table :<%= table_prefix %>_sms_codes do
  foreign_key :id, :<%= table_prefix.pluralize %>, primary_key: true, type: :Bignum
  String :phone_number, null: false
  Integer :num_failures
  String :code
  DateTime :code_issued_at, null: false, default: Sequel::CURRENT_TIMESTAMP
end

Version data entries

32 entries across 32 versions & 2 rubygems

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