# Type alias TableCfg

TableCfg: {
constraints?: any[];
description?: string;
fields: FieldCfg[];
has_sync_info?: boolean;
id?: number;
is_user_group?: boolean;
min_role_read: number;
min_role_write: number;
name: string;
ownership_field_id?: number | null;
ownership_formula?: string;
provider_cfg?: any;
provider_name?: string;
versioned?: boolean;
}

Fields required to construct a table

#### Type declaration

- ##### `Optional` constraints?: any[]

- ##### `Optional` description?: string

- ##### fields: FieldCfg[]

- ##### `Optional` has_sync_info?: boolean

- ##### `Optional` id?: number

- ##### `Optional` is_user_group?: boolean

- ##### min_role_read: number

- ##### min_role_write: number

- ##### name: string

- ##### `Optional` ownership_field_id?: number | null

- ##### `Optional` ownership_formula?: string

- ##### `Optional` provider_cfg?: any

- ##### `Optional` provider_name?: string

- ##### `Optional` versioned?: boolean

- Defined in saltcorn-types/model-abstracts/abstract_table.ts:23

Generated using TypeDoc