knex-schema-inspector
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -170,3 +170,3 @@ "use strict"; | ||
.leftJoin('INFORMATION_SCHEMA.KEY_COLUMN_USAGE as fk', function () { | ||
this.on('fk.TABLE_NAME', '=', 'fk.TABLE_NAME') | ||
this.on('c.TABLE_NAME', '=', 'fk.TABLE_NAME') | ||
.andOn('fk.COLUMN_NAME', '=', 'c.COLUMN_NAME') | ||
@@ -173,0 +173,0 @@ .andOn('fk.CONSTRAINT_SCHEMA', '=', 'c.TABLE_SCHEMA'); |
@@ -175,3 +175,3 @@ import Knex from 'knex'; | ||
.leftJoin('INFORMATION_SCHEMA.KEY_COLUMN_USAGE as fk', function () { | ||
this.on('fk.TABLE_NAME', '=', 'fk.TABLE_NAME') | ||
this.on('c.TABLE_NAME', '=', 'fk.TABLE_NAME') | ||
.andOn('fk.COLUMN_NAME', '=', 'c.COLUMN_NAME') | ||
@@ -178,0 +178,0 @@ .andOn('fk.CONSTRAINT_SCHEMA', '=', 'c.TABLE_SCHEMA'); |
{ | ||
"name": "knex-schema-inspector", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"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
85953