Sha256: 0f2fdcf8b4358e76cbdb727b8f626fc3d5594feb6f04a36fd783bd4a63fe5ac9

Contents?: true

Size: 312 Bytes

Versions: 32

Compression:

Stored size: 312 Bytes

Contents

# Used by the email auth feature
create_table :<%= table_prefix %>_email_auth_keys do
  foreign_key :id, :<%= table_prefix.pluralize %>, primary_key: true, type: :Bignum
  String :key, null: false
  DateTime :deadline, null: false
  DateTime :email_last_sent, 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/email_auth.erb
rodauth-rails-1.15.1 lib/generators/rodauth/migration/sequel/email_auth.erb
rodauth-rails-1.15.0 lib/generators/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.14 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.13 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.12 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.11 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.10 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.9 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.8 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.7 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.5 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.4 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.3 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.2 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.1 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.12.0 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.11.2 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.11.1 lib/generators/pu/rodauth/migration/sequel/email_auth.erb
plutonium-0.11.0 lib/generators/pu/rodauth/migration/sequel/email_auth.erb