MageSmith

📦 Magento_Downloadable · engine innodb

downloadable_link_purchased_item

Downloadable Link Purchased Item Table

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

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

Click a node to jump to that table.

Columns (16)

NameTypeNullDefaultComment
item_id PKint unsignednoItem ID
purchased_id int unsignedno0Purchased ID
order_item_id int unsignedyes0Order Item ID
product_id int unsignedyes0Product ID
link_hash varchar(255) yesLink hash
number_of_downloads_bought int unsignedno0Number of downloads bought
number_of_downloads_used int unsignedno0Number of downloads used
link_id int unsignedno0Link ID
link_title varchar(255) yesLink Title
is_shareable smallint unsignedno0Shareable Flag
link_url varchar(255) yesLink Url
link_file varchar(255) yesLink File
link_type varchar(255) yesLink Type
status varchar(50) yesStatus
created_at timestamp noCURRENT_TIMESTAMPCreation Time
updated_at timestamp noCURRENT_TIMESTAMPUpdate Time

Keys & indexes

Primary key: item_id

Indexes

  • DOWNLOADABLE_LINK_PURCHASED_ITEM_LINK_HASH (link_hash) btree
  • DOWNLOADABLE_LINK_PURCHASED_ITEM_ORDER_ITEM_ID (order_item_id) btree
  • DOWNLOADABLE_LINK_PURCHASED_ITEM_PURCHASED_ID (purchased_id) btree

References (2)