mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-04-24 09:29:02 -05:00
7 lines
742 B
TypeScript
7 lines
742 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { ConflictResolution } from "./ConflictResolution";
|
|
import type { GeneratedExpressionMode } from "./GeneratedExpressionMode";
|
|
import type { ReferentialAction } from "./ReferentialAction";
|
|
|
|
export type ColumnOption = "Null" | "NotNull" | { "Default": string } | { "Unique": { is_primary: boolean, conflict_clause: ConflictResolution | null, } } | { "ForeignKey": { foreign_table: string, referred_columns: Array<string>, on_delete: ReferentialAction | null, on_update: ReferentialAction | null, } } | { "Check": string } | { "OnUpdate": string } | { "Generated": { expr: string, mode: GeneratedExpressionMode | null, } };
|