Comparing version 2.1.0 to 2.1.1
@@ -61,3 +61,3 @@ 'use strict'; | ||
if (metaschema.KIND_STORED.includes(entity.kind)) { | ||
script.push(createEntity(model, name)); | ||
script.push(createEntity(model, name), ''); | ||
if (model.entities.get('Identifier')) { | ||
@@ -70,3 +70,3 @@ const { inserts, updates } = registerEntity(model, name); | ||
} | ||
if (ins.length) script.push('', ...ins, '', ...upd, ''); | ||
if (ins.length) script.push(...ins, '', ...upd, ''); | ||
const dbPath = path.join(outputPath, 'database.sql'); | ||
@@ -73,0 +73,0 @@ await fsp.writeFile(dbPath, script.join('\n')); |
{ | ||
"name": "metasql", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "MetaSQL Database schema generator, migrations and query builder for Metarhia", | ||
@@ -40,3 +40,3 @@ "main": "metasql.js", | ||
"engines": { | ||
"node": "14 || 16 || 18" | ||
"node": "14 || 16 || 18 || 19" | ||
}, | ||
@@ -46,9 +46,9 @@ "dependencies": { | ||
"metaschema": "^2.1.1", | ||
"metavm": "^1.2.1", | ||
"pg": "^8.7.3" | ||
"metavm": "^1.2.2", | ||
"pg": "^8.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.7.6", | ||
"@types/node": "^18.11.15", | ||
"@types/pg": "^8.6.5", | ||
"eslint": "^8.22.0", | ||
"eslint": "^8.29.0", | ||
"eslint-config-metarhia": "^8.1.0", | ||
@@ -59,5 +59,5 @@ "eslint-config-prettier": "^8.5.0", | ||
"metatests": "^0.8.2", | ||
"prettier": "^2.6.2", | ||
"typescript": "^4.6.3" | ||
"prettier": "^2.8.1", | ||
"typescript": "^4.9.4" | ||
} | ||
} |
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
31070
11
Updatedmetavm@^1.2.2
Updatedpg@^8.8.0