knex-schema-inspector
Advanced tools
Comparing version 0.0.12 to 0.0.15
@@ -19,2 +19,5 @@ "use strict"; | ||
break; | ||
case 'Client_MSSQL': | ||
constructor = require('./dialects/mssql').default; | ||
break; | ||
default: | ||
@@ -21,0 +24,0 @@ throw Error('Unsupported driver used: ' + knex.client.constructor.name); |
@@ -17,6 +17,10 @@ import Knex from 'knex'; | ||
break; | ||
case 'Client_Oracledb': | ||
case 'Client_Oracle': | ||
constructor = require('./dialects/oracledb').default; | ||
break; | ||
case 'Client_Oracledb': | ||
case 'Client_Oracle': | ||
constructor = require('./dialects/oracledb').default; | ||
break; | ||
case 'Client_MSSQL': | ||
constructor = require('./dialects/mssql').default; | ||
break; | ||
default: | ||
@@ -23,0 +27,0 @@ throw Error('Unsupported driver used: ' + knex.client.constructor.name); |
export interface Table { | ||
name: string; | ||
// Not supported in SQLite | ||
// Not supported in SQLite + comment in mssql | ||
comment?: string | null; | ||
@@ -6,0 +6,0 @@ schema?: string; |
{ | ||
"name": "knex-schema-inspector", | ||
"version": "0.0.12", | ||
"version": "0.0.15", | ||
"description": "[WIP] Utility for extracting information about existing DB schema", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133286
36
3009