Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ColumnWithWidthOptions

Options for columns that can define a length of the column type.

Hierarchy

  • ColumnWithWidthOptions

Index

Properties

Properties

Optional unsigned

unsigned: boolean

Puts UNSIGNED attribute on to numeric column. Works only for MySQL.

Optional width

width: number

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.

Optional zerofill

zerofill: boolean

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 this column

Generated using TypeDoc