Sha256: a600c78a5afd72953f7b4463d70a1fce41b9d28d9ab66ce240ae0ee21dac2227

Contents?: true

Size: 392 Bytes

Versions: 32

Compression:

Stored size: 392 Bytes

Contents

# Used by the active sessions feature
create_table :<%= table_prefix %>_active_session_keys do
  foreign_key :<%= table_prefix %>_id, :<%= table_prefix.pluralize %>, type: :Bignum
  String :session_id
  Time :created_at, null: false, default: Sequel::CURRENT_TIMESTAMP
  Time :last_use, null: false, default: Sequel::CURRENT_TIMESTAMP
  primary_key [:<%= table_prefix %>_id, :session_id]
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
rodauth-rails-1.15.2 lib/generators/rodauth/migration/sequel/active_sessions.erb
rodauth-rails-1.15.1 lib/generators/rodauth/migration/sequel/active_sessions.erb
rodauth-rails-1.15.0 lib/generators/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.14 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.13 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.12 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.11 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.10 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.9 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.8 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.7 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.5 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.4 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.3 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.2 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.1 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.12.0 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.11.2 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.11.1 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb
plutonium-0.11.0 lib/generators/pu/rodauth/migration/sequel/active_sessions.erb