Comparing version 0.14.8 to 0.14.9
@@ -140,3 +140,3 @@ "use strict"; | ||
if (options.verbose) { | ||
console.log(`Adding column ${column} to ${modelClass.table_name}`); | ||
console.log(`Adding column ${property._dbname_us} to ${modelClass.table_name}`); | ||
} | ||
@@ -230,7 +230,7 @@ await this._adapter.addColumn(model, property); | ||
if (!currentTable[property._dbname_us]) { | ||
changes.push({ message: `Add column ${column} to ${modelClass.table_name}` }); | ||
changes.push({ message: `Add column ${property._dbname_us} to ${modelClass.table_name}` }); | ||
} | ||
else if (column !== 'id') { | ||
if (property.required && !currentTable[property._dbname_us].required) { | ||
changes.push({ message: `Change ${modelClass.table_name}.${column} to required`, ignorable: true }); | ||
changes.push({ message: `Change ${modelClass.table_name}.${property._dbname_us} to required`, ignorable: true }); | ||
} | ||
@@ -237,0 +237,0 @@ else if (!property.required && currentTable[property._dbname_us].required) { |
{ | ||
"name": "cormo", | ||
"description": "ORM framework for Node.js", | ||
"version": "0.14.8", | ||
"version": "0.14.9", | ||
"keywords": [ | ||
@@ -38,3 +38,3 @@ "orm", | ||
"dependencies": { | ||
"chalk": "^3.0.0", | ||
"chalk": "^4.0.0", | ||
"inflected": "^2.0.4", | ||
@@ -50,5 +50,5 @@ "lodash": "^4.17.15", | ||
"@types/mocha": "^7.0.2", | ||
"@types/mongodb": "^3.5.2", | ||
"@types/node": "^13.9.3", | ||
"@types/sinon": "^7.5.2", | ||
"@types/mongodb": "^3.5.8", | ||
"@types/node": "^13.11.1", | ||
"@types/sinon": "^9.0.0", | ||
"@types/yargs": "^15.0.4", | ||
@@ -62,15 +62,15 @@ "benchmark": "^2.1.4", | ||
"mocha": "^7.1.1", | ||
"mongodb": "^3.5.5", | ||
"mongodb": "^3.5.6", | ||
"mysql": "^2.18.1", | ||
"mysql2": "^2.1.0", | ||
"pg": "^7.18.2", | ||
"pg-query-stream": "^3.0.3", | ||
"pg": "^8.0.2", | ||
"pg-query-stream": "^3.0.6", | ||
"redis": "^3.0.2", | ||
"rimraf": "^3.0.2", | ||
"sinon": "^9.0.1", | ||
"sinon": "^9.0.2", | ||
"sqlite3": "^4.1.1", | ||
"ts-node": "^8.8.1", | ||
"ts-node": "^8.8.2", | ||
"typescript": "^3.8.3" | ||
}, | ||
"gitHead": "060d20f35851f3f99f65efd456caa8d4f4fdfa4e" | ||
"gitHead": "89e0b7e703ebf345a55b11baf4af8311993eb770" | ||
} |
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
326540
+ Addedchalk@4.1.2(transitive)
- Removedchalk@3.0.0(transitive)
Updatedchalk@^4.0.0