Sha256: 6342ec402ab468c2bbdf91fe4824e1137d83c2f5dde2b8674a290322339e2336

Contents?: true

Size: 295 Bytes

Versions: 13

Compression:

Stored size: 295 Bytes

Contents

# Used by the password reset feature
create_table :account_password_reset_keys<%= 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, null: false, default: <%= current_timestamp %>
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rodauth-rails-1.5.5 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.5.4 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.5.2 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.5.1 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.5.0 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.4.2 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.4.1 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.4.0 lib/generators/rodauth/migration/active_record/reset_password.erb
rodauth-rails-1.3.1 lib/generators/rodauth/migration/reset_password.erb
rodauth-rails-1.3.0 lib/generators/rodauth/migration/reset_password.erb
rodauth-rails-1.2.2 lib/generators/rodauth/migration/reset_password.erb
rodauth-rails-1.2.1 lib/generators/rodauth/migration/reset_password.erb
rodauth-rails-1.2.0 lib/generators/rodauth/migration/reset_password.erb