Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PrimaryGeneratedColumnNumericOptions

Describes all options for PrimaryGeneratedColumn decorator with numeric generation strategy.

Hierarchy

  • PrimaryGeneratedColumnNumericOptions

Index

Properties

Optional comment

comment: string

Column comment. Not supported by all database types.

Optional name

name: string

Column name in the database.

Optional type

Column type. Must be one of the value from the ColumnTypes class.

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