MageSmith

📦 Magento_Downloadable · engine innodb

downloadable_link_purchased

Downloadable Link Purchased Table

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

flowchart LR
  c["downloadable_link_purchased"]:::center
  n0["customer_entity"]
  click n0 "/schema/table/customer_entity"
  n0 -- customer_id --> c
  n1["sales_order"]
  click n1 "/schema/table/sales_order"
  n1 -- order_id --> c
  n2["downloadable_link_purchased_item"]
  click n2 "/schema/table/downloadable_link_purchased_item"
  c -- purchased_id --> n2
  click c "/schema/table/downloadable_link_purchased"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (10)

NameTypeNullDefaultComment
purchased_id PKint unsignednoPurchased ID
order_id int unsignedyes0Order ID
order_increment_id varchar(50) yesOrder Increment ID
order_item_id int unsignedno0Order Item ID
created_at timestamp noCURRENT_TIMESTAMPDate of creation
updated_at timestamp noCURRENT_TIMESTAMPDate of modification
customer_id int unsignedyes0Customer ID
product_name varchar(255) yesProduct name
product_sku varchar(255) yesProduct sku
link_section_title varchar(255) yesLink_section_title

Keys & indexes

Primary key: purchased_id

Indexes

  • DOWNLOADABLE_LINK_PURCHASED_ORDER_ID (order_id) btree
  • DOWNLOADABLE_LINK_PURCHASED_ORDER_ITEM_ID (order_item_id) btree
  • DOWNLOADABLE_LINK_PURCHASED_CUSTOMER_ID (customer_id) btree

References (2)

Referenced by (1)