Module consts

Source

Constantsยง

METADATA_CASCADE
constraint action value CASCADE
METADATA_CHARSET
database, table or column charset
METADATA_COLLATION
database, table or column collation
METADATA_FLAG_AUTO_INCREMENT
primary key columns are usually AUTO INCREMENT
METADATA_FLAG_DEFAULT_CURRENT_TIMESTAMP
TIMESTAMP DEFAULT
METADATA_FLAG_NULLABLE
for nullable columns
METADATA_FLAG_ON_UPDATE_CURRENT_TIMESTAMP
TIMESTAMP ON UPDATE trigger
METADATA_FLAG_PRIMARY
for marking primary keys
METADATA_FLAG_UNIQUE
for marking unique indexes
METADATA_FLAG_UNSIGNED
for numerical datatypes of columns
METADATA_ON_DELETE
constraint action ON DELETE
METADATA_ON_UPDATE
constraint action ON UPDATE or TIMESTAMP internal update
METADATA_SET_NULL
constraint action value SET NULL