Skip to main content
Version: Next

Column

Index

Properties

optionalautoincrement

autoincrement?: boolean

optionalcomment

comment?: string

optionaldefault

default?: null | string

optionalenumItems

enumItems?: string[]

optionalextra

extra?: string

mysql only

optionalgenerated

generated?: string

optionalignoreSchemaChanges

ignoreSchemaChanges?: (type | extra | default)[]

optionallength

length?: number

mappedType

mappedType: Type<unknown, unknown>

name

name: string

optionalnativeEnumName

nativeEnumName?: string

optionalnullable

nullable?: boolean

optionalprecision

precision?: number

optionalprimary

primary?: boolean

optionalscale

scale?: number

type

type: string

optionalunique

unique?: boolean

optionalunsigned

unsigned?: boolean