MageSmith

👤 Magento_Persistent · engine innodb

persistent_session

Persistent Session

Neighbourhood (1-hop foreign-key graph — showing 2 of 2)

flowchart LR
  c["persistent_session"]:::center
  n0["customer_entity"]
  click n0 "/schema/table/customer_entity"
  n0 -- customer_id --> c
  n1["store_website"]
  click n1 "/schema/table/store_website"
  n1 -- website_id --> c
  click c "/schema/table/persistent_session"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (6)

NameTypeNullDefaultComment
persistent_id PKint unsignednoSession ID
key varchar(50) noUnique cookie key
customer_id int unsignedyesCustomer ID
website_id smallint unsignedno0Website ID
info text yesSession Data
updated_at timestamp noCURRENT_TIMESTAMPUpdated At

Keys & indexes

Primary key: persistent_id

Unique

  • PERSISTENT_SESSION_KEY (key)
  • PERSISTENT_SESSION_CUSTOMER_ID (customer_id)

Indexes

  • PERSISTENT_SESSION_UPDATED_AT (updated_at) btree

References (2)