Sha256: de95818d87372b12a3e65e7b09ad6dda1771ea57bc152d9aa6eed7c04433a773
Contents?: true
Size: 426 Bytes
Versions: 63
Compression:
Stored size: 426 Bytes
Contents
# Used by the active sessions feature create_table :<%= table_prefix %>_active_session_keys, primary_key: [:<%= table_prefix %>_id, :session_id] do |t| t.references :<%= table_prefix %>, foreign_key: true<%= primary_key_type(:type) %> t.string :session_id t.datetime :created_at, null: false, default: -> { "<%= current_timestamp %>" } t.datetime :last_use, null: false, default: -> { "<%= current_timestamp %>" } end
Version data entries
63 entries across 63 versions & 2 rubygems