Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ColumnNumericOptions

Options for numeric column types where user can specify scale and precision.

Hierarchy

  • ColumnNumericOptions

Index

Properties

Optional precision

precision: number

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.

Optional scale

scale: number

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.

Optional unsigned

unsigned: boolean

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

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

Generated using TypeDoc