Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knex-schema-inspector

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knex-schema-inspector - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

dist/dialects/mysql.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc