Skip to main content

DbFieldSchema

@lowcode/dsl


Interface: DbFieldSchema

Defined in: schema.ts:344

Описание поля таблицы.

Properties​

default?​

optional default: StaticValue

Defined in: schema.ts:348


name​

name: string

Defined in: schema.ts:345


nullable?​

optional nullable: boolean

Defined in: schema.ts:347


primaryKey?​

optional primaryKey: boolean

Defined in: schema.ts:350


references?​

optional references: DbFieldReference

Defined in: schema.ts:351


type​

type: DbFieldType

Defined in: schema.ts:346


unique?​

optional unique: boolean

Defined in: schema.ts:349