MageSmith

💳 Magento_Paypal · engine innodb

paypal_billing_agreement

Sales Billing Agreement

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

flowchart LR
  c["paypal_billing_agreement"]:::center
  n0["customer_entity"]
  click n0 "/schema/table/customer_entity"
  n0 -- customer_id --> c
  n1["store"]
  click n1 "/schema/table/store"
  n1 -- store_id --> c
  n2["paypal_billing_agreement_order"]
  click n2 "/schema/table/paypal_billing_agreement_order"
  c -- agreement_id --> n2
  click c "/schema/table/paypal_billing_agreement"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (9)

NameTypeNullDefaultComment
agreement_id PKint unsignednoAgreement ID
customer_id int unsignednoCustomer ID
method_code varchar(32) noMethod Code
reference_id varchar(32) noReference ID
status varchar(20) noStatus
created_at timestamp noCURRENT_TIMESTAMPCreated At
updated_at timestamp yesUpdated At
store_id smallint unsignedyesStore ID
agreement_label varchar(255) yesAgreement Label

Keys & indexes

Primary key: agreement_id

Indexes

  • PAYPAL_BILLING_AGREEMENT_CUSTOMER_ID (customer_id) btree
  • PAYPAL_BILLING_AGREEMENT_STORE_ID (store_id) btree

References (2)

  • customer_id customer_entity .entity_id (on delete CASCADE)
  • store_id store .store_id (on delete SET NULL)

Referenced by (1)