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.
Constants ​
Constant | Description |
---|---|
CATALOG_PRICING | |
CATALOG_PRICING_RULES | |
CATALOG_PRICING_RULES_USERS | |
CHARGES | |
COUPONS | |
CUSTOMERS | |
CUSTOMER_DISCOUNTUSES | |
DISCOUNTS | |
DISCOUNT_CATEGORIES | |
DISCOUNT_PURCHASABLES | |
DONATIONS | |
EMAILS | |
EMAIL_DISCOUNTUSES | |
GATEWAYS | |
INVENTORYITEMS | |
INVENTORYLOCATIONS | |
INVENTORYLOCATIONS_STORES | |
INVENTORYTRANSACTIONS | |
LINEITEMS | |
LINEITEMSTATUSES | |
ORDERADJUSTMENTS | |
ORDERHISTORIES | |
ORDERNOTICES | |
ORDERS | |
ORDERSTATUSES | |
ORDERSTATUS_EMAILS | |
PAYMENTCURRENCIES | |
PAYMENTSOURCES | |
PDFS | |
PLANS | |
PRODUCTS | |
PRODUCTTYPES | |
PRODUCTTYPES_SHIPPINGCATEGORIES | |
PRODUCTTYPES_SITES | |
PRODUCTTYPES_TAXCATEGORIES | |
PURCHASABLES | |
PURCHASABLES_STORES | |
SALES | |
SALE_CATEGORIES | |
SALE_PURCHASABLES | |
SALE_USERGROUPS | |
SHIPPINGCATEGORIES | |
SHIPPINGMETHODS | |
SHIPPINGRULES | |
SHIPPINGRULE_CATEGORIES | |
SHIPPINGZONES | |
SITESTORES | |
STORES | |
STORESETTINGS | |
SUBSCRIPTIONS | |
TAXCATEGORIES | |
TAXRATES | |
TAXZONES | |
TRANSACTIONS | |
TRANSFERDETAILS | |
TRANSFERS | |
VARIANTS |