Skip to content

Table ​

Type
Abstract Class
Namespace
craft\db
Inherits
craft\db\Table
Since
3.1.0

This class provides constants for defining Craft’s database table names.

View source

Constants ​

ConstantDescription
ANNOUNCEMENTS
ASSETINDEXDATA
ASSETS
ASSETTRANSFORMINDEX
ASSETTRANSFORMS
CACHE
CATEGORIES
CATEGORYGROUPS
CATEGORYGROUPS_SITES
CHANGEDATTRIBUTES
CHANGEDFIELDS
CONTENT
CRAFTIDTOKENS
DEPRECATIONERRORS
DRAFTS
ELEMENTINDEXSETTINGS
ELEMENTS
ELEMENTS_SITES
ENTRIES
ENTRYDRAFTS
ENTRYTYPES
ENTRYVERSIONS
FIELDGROUPS
FIELDLAYOUTFIELDS
FIELDLAYOUTS
FIELDLAYOUTTABS
FIELDS
GLOBALSETS
GQLSCHEMAS
GQLTOKENS
INFO
MATRIXBLOCKS
MATRIXBLOCKTYPES
MIGRATIONS
PHPSESSIONS
PLUGINS
PROJECTCONFIG
PROJECTCONFIGNAMES
QUEUE
RELATIONS
RESOURCEPATHS
REVISIONS
SEARCHINDEX
SECTIONS
SECTIONS_SITES
SEQUENCES
SESSIONS
SHUNNEDMESSAGES
SITEGROUPS
SITES
STRUCTUREELEMENTS
STRUCTURES
SYSTEMMESSAGES
TAGGROUPS
TAGS
TEMPLATECACHEELEMENTS
TEMPLATECACHEQUERIES
TEMPLATECACHES
TOKENS
USERGROUPS
USERGROUPS_USERS
USERPERMISSIONS
USERPERMISSIONS_USERGROUPS
USERPERMISSIONS_USERS
USERPREFERENCES
USERS
VOLUMEFOLDERS
VOLUMES
WIDGETS