Sha256: 4290c4c2851b15bc20a375a48a41a1af6d2f20a03504573af47aad61531c5f78
Contents?: true
Size: 364 Bytes
Versions: 1
Compression:
Stored size: 364 Bytes
Contents
# Used by the email auth feature create_table :<%= table_prefix %>_email_auth_keys, id: false do |t| t.<%= primary_key_type(nil) %> :id, primary_key: true t.foreign_key :<%= table_prefix.pluralize %>, 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rodauth-rails-1.8.0 | lib/generators/rodauth/migration/active_record/email_auth.erb |