import { EntitySchemaOptions } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/entity-schema/EntitySchemaOptions.ts";
Interface for entity metadata mappings stored inside "schemas" instead of models decorated by decorators.
Properties
columns: [P in keyof T]?: EntitySchemaColumnOptions
Entity column's options.
Specifies a property name by which queries will perform ordering by default when fetching rows.
optional
relations: [P in keyof T]?: EntitySchemaRelationOptionsEntity relation's options.
Indicates if schema synchronization is enabled or disabled for this entity. If it will be set to false then schema sync will and migrations ignore this entity. By default schema synchronization is enabled for all entities.