Interface ModelColumn

The definition of a column in a model. If the defaultValue is provided, it should be of the type defined by your type. Blobs should be provided as an ArrayBuffer.

interface ModelColumn {
    defaultValue?: unknown;
    notNull?: boolean;
    type: DataTypes;
}

Properties

defaultValue?: unknown
notNull?: boolean
type: DataTypes