tarantoolscript
Version:
TypeScript definitions for Tarantool Lua API.
27 lines (24 loc) • 452 B
TypeScript
import { ForeignKeySingleOptions } from './ForeignKeyOptions';
export type FieldType =
| 'any'
| 'unsigned'
| 'string'
| 'str'
| 'integer'
| 'number'
| 'varbinary'
| 'boolean'
| 'double'
| 'decimal'
| 'uuid'
| 'array'
| 'map'
| 'scalar'
export interface SpaceFieldFormat {
name: string;
type?: FieldType;
is_nullable?: boolean;
collation?: string;
constraint?: string;
foreign_key?: ForeignKeySingleOptions;
}