👤 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.
Related tables (2)
Columns (6)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| persistent_id PK | int unsigned | no | Session ID | |
| key | varchar(50) | no | Unique cookie key | |
| customer_id | int unsigned | yes | Customer ID | |
| website_id | smallint unsigned | no | 0 | Website ID |
| info | text | yes | Session Data | |
| updated_at | timestamp | no | CURRENT_TIMESTAMP | Updated 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)
- customer_id → customer_entity .entity_id (on delete CASCADE)
- website_id → store_website .website_id (on delete CASCADE)