Skip to content
# Interface: TableDefinition

Defined in: packages/core/src/utils/SchemaManager.ts:63

Complete table schema definition that users write

Properties

name

name: string

Defined in: packages/core/src/utils/SchemaManager.ts:65

Table name in database


displayName?

optional displayName: string

Defined in: packages/core/src/utils/SchemaManager.ts:67

Human-readable entity name


columns

columns: Record<string, ColumnDefinition&gt;

Defined in: packages/core/src/utils/SchemaManager.ts:69

Column definitions


relationships?

optional relationships: RelationshipDefinition[]

Defined in: packages/core/src/utils/SchemaManager.ts:71

Relationships with other tables

Released under the MIT License.