Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ColumnOptions

The options for a table column.

Hierarchy

  • ColumnOptions

Implemented by

Index

Properties

Optional default

default: any

The default value for this column.

name

name: null | string

The name of this column.

Optional notNull

notNull: null | boolean

Whether this column can be nullable in the database.

Optional primary

primary: null | boolean

Whether this column is the primary key to the table.

type

type: null | DataTypes

The type of this column.

Generated using TypeDoc