Sha256: 81c11c5781ce5ee9a0c07db65e5707756db76d21469845b0a677e0b2965d0bdb
Contents?: true
Size: 373 Bytes
Versions: 101
Compression:
Stored size: 373 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
101 entries across 101 versions & 2 rubygems