Generated column expression. Supports only in MySQL.
Defines column character set.
Defines column collation.
Column's comment.
Column's default value.
Array of possible enumerated values.
Generated column type. Supports only in MySQL.
Specifies generation strategy if this column will use auto increment.
Indicates if column stores array.
Indicates if column is auto-generated sequence.
Indicates if column is NULL, or is NOT NULL in the database.
Indicates if column is a primary key.
Indicates if column has unique value.
Column type's length. Used only on some column types. For example type = "string" and length = "100" means that ORM will create a column with type varchar(100).
Column name.
ON UPDATE trigger. Works only for MySQL.
The precision for a decimal (exact numeric) column (applies only for decimal column), which is the maximum number of digits that are stored for the values.
The scale for a decimal (exact numeric) column (applies only for decimal column), which represents the number of digits to the right of the decimal point and must not be greater than precision.
Column type.
Puts UNSIGNED attribute on to numeric column. Works only for MySQL.
Column type's display width. Used only on some column types in MySQL. For example, INT(4) specifies an INT with a display width of four digits.
Puts ZEROFILL attribute on to numeric column. Works only for MySQL. If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to the column
Generated using TypeDoc
Table's column options.