Table

Type
Abstract Class
Namespace
craft\commerce\db
Inherits
craft\commerce\db\Table
Since
2.2

This class provides public constants for defining Craft Commerce’s database table names. Do not use these in migrations.

View source (opens new window)

# Constants

Constant Description
CHARGES
COUPONS
CUSTOMERS
CUSTOMER_DISCOUNTUSES
DISCOUNTS
DISCOUNT_CATEGORIES
DISCOUNT_PURCHASABLES
DONATIONS
EMAILS
EMAIL_DISCOUNTUSES
GATEWAYS
LINEITEMS
LINEITEMSTATUSES
ORDERADJUSTMENTS
ORDERHISTORIES
ORDERNOTICES
ORDERS
ORDERSTATUSES
ORDERSTATUS_EMAILS
PAYMENTCURRENCIES
PAYMENTSOURCES
PDFS
PLANS
PRODUCTS
PRODUCTTYPES
PRODUCTTYPES_SHIPPINGCATEGORIES
PRODUCTTYPES_SITES
PRODUCTTYPES_TAXCATEGORIES
PURCHASABLES
SALES
SALE_CATEGORIES
SALE_PURCHASABLES
SALE_USERGROUPS
SHIPPINGCATEGORIES
SHIPPINGMETHODS
SHIPPINGRULES
SHIPPINGRULE_CATEGORIES
SHIPPINGZONES
STORES
SUBSCRIPTIONS
TAXCATEGORIES
TAXRATES
TAXZONES
TRANSACTIONS
VARIANTS