knex-schema-inspector
Version:
Utility for extracting information about existing DB schema
21 lines (15 loc) • 304 B
text/typescript
export interface Table {
name: string;
// Not supported in SQLite + comment in mssql
comment?: string | null;
schema?: string;
// MySQL Only
collation?: string;
engine?: string;
// Postgres Only
owner?: string;
// SQLite Only
sql?: string;
//MSSQL only
catalog?: string;
}