feathers-knex-modeler
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "feathers-knex-modeler", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "This package allows you to easily extend a table while you are developing it without requiring you to drop tables.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,3 +19,4 @@ # Feathers Knex modeler | ||
const db = app.get('knexClient') | ||
const model = new Model({ | ||
const Modeler = require('feathers-knex-modeler') | ||
const modeler = new Modeler({ | ||
name: tableName, | ||
@@ -32,3 +33,3 @@ depends: [], | ||
}) | ||
model.init() | ||
modeler.init() | ||
return db | ||
@@ -35,0 +36,0 @@ } |
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
14953
95