MageSmith

🛍️ Magento_Quote · engine innodb

quote

Sales Flat Quote

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

flowchart LR
  c["quote"]:::center
  n0["store"]
  click n0 "/schema/table/store"
  n0 -- store_id --> c
  n1["quote_item"]
  click n1 "/schema/table/quote_item"
  c -- quote_id --> n1
  n2["quote_address"]
  click n2 "/schema/table/quote_address"
  c -- quote_id --> n2
  n3["quote_id_mask"]
  click n3 "/schema/table/quote_id_mask"
  c -- quote_id --> n3
  n4["quote_payment"]
  click n4 "/schema/table/quote_payment"
  c -- quote_id --> n4
  click c "/schema/table/quote"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (51)

NameTypeNullDefaultComment
gift_message_id int yesGift Message ID
is_persistent smallint unsignedyes0Is Quote Persistent
entity_id PKint unsignednoEntity ID
store_id smallint unsignedno0Store ID
created_at timestamp noCURRENT_TIMESTAMPCreated At
updated_at timestamp noCURRENT_TIMESTAMP
converted_at timestamp yesConverted At
is_active smallint unsignedyes1Is Active
is_virtual smallint unsignedyes0Is Virtual
is_multi_shipping smallint unsignedyes0Is Multi Shipping
items_count int unsignedyes0Items Count
items_qty decimal yes0Items Qty
orig_order_id int unsignedyes0Orig Order ID
store_to_base_rate decimal yes0Store To Base Rate
store_to_quote_rate decimal yes0Store To Quote Rate
base_currency_code varchar(255) yesBase Currency Code
store_currency_code varchar(255) yesStore Currency Code
quote_currency_code varchar(255) yesQuote Currency Code
grand_total decimal yes0Grand Total
base_grand_total decimal yes0Base Grand Total
checkout_method varchar(255) yesCheckout Method
customer_id int unsignedyesCustomer ID
customer_tax_class_id int unsignedyesCustomer Tax Class ID
customer_group_id int unsignedyes0Customer Group ID
customer_email varchar(255) yesCustomer Email
customer_prefix varchar(40) yesCustomer Prefix
customer_firstname varchar(255) yesCustomer Firstname
customer_middlename varchar(40) yesCustomer Middlename
customer_lastname varchar(255) yesCustomer Lastname
customer_suffix varchar(40) yesCustomer Suffix
customer_dob datetime yesCustomer Dob
customer_note text yesCustomer Note
customer_note_notify smallint unsignedyes1Customer Note Notify
customer_is_guest smallint unsignedyes0Customer Is Guest
remote_ip varchar(45) yesRemote Ip
applied_rule_ids varchar(255) yesApplied Rule Ids
reserved_order_id varchar(64) yesReserved Order ID
password_hash varchar(255) yesPassword Hash
coupon_code varchar(255) yesCoupon Code
global_currency_code varchar(255) yesGlobal Currency Code
base_to_global_rate decimal yesBase To Global Rate
base_to_quote_rate decimal yesBase To Quote Rate
customer_taxvat varchar(255) yesCustomer Taxvat
customer_gender varchar(255) yesCustomer Gender
subtotal decimal yesSubtotal
base_subtotal decimal yesBase Subtotal
subtotal_with_discount decimal yesSubtotal With Discount
base_subtotal_with_discount decimal yesBase Subtotal With Discount
is_changed int unsignedyesIs Changed
trigger_recollect smallint no0Trigger Recollect
ext_shipping_info text yesExt Shipping Info

Keys & indexes

Primary key: entity_id

Indexes

  • QUOTE_CUSTOMER_ID_STORE_ID_IS_ACTIVE (customer_id, store_id, is_active) btree
  • QUOTE_STORE_ID_UPDATED_AT (store_id, updated_at) btree

References (1)

  • store_id store .store_id (on delete CASCADE)

Referenced by (4)