Interface AddForeignKeyConstraintQueryOptions

Hierarchy

Properties

deferrable?: Deferrable
fields: (string | BaseSqlExpression | {
    attribute?: string;
    name: string;
})[]
name?: string
references: {
    field?: string;
    fields: string[];
    table: TableNameOrModel;
} | {
    field: string;
    fields?: string[];
    table: TableNameOrModel;
}

Type declaration

Type declaration

type: "FOREIGN KEY"

Generated using TypeDoc