UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL, MongoDB databases.

17 lines (16 loc) 390 B
/** * Creates complete tables schemas in the database based on the entity metadatas. */ export interface SchemaBuilder { /** * Creates complete schemas for the given entity metadatas. */ build(): Promise<void>; /** * Returns queries to be executed by schema builder. */ log(): Promise<(string | { up: string; down: string; })[]>; }