@nyffels/mynodeorm
Advanced tools
Comparing version 1.0.0-alpha120 to 1.0.0-alpha121
@@ -351,3 +351,3 @@ #! /usr/bin/env node | ||
if (dropkeys.length > 0) { | ||
scriptLines.push(`ALTER TABLE \`${table}\` ${dropkeys.map(k => `DROP FOREIGN KEY \`${k}\``).join(", ")}, ${dropkeys.map(k => `DROP INDEX \`${k}_idx\``)}`); | ||
scriptLines.push(`ALTER TABLE \`${table}\` ${dropkeys.map(k => `DROP FOREIGN KEY \`${k}\``).join(", ")}, ${dropkeys.map(k => `DROP INDEX \`${k}_idx\``)};`); | ||
} | ||
@@ -354,0 +354,0 @@ if (addedKeys.length > 0) { |
{ | ||
"name": "@nyffels/mynodeorm", | ||
"version": "1.0.0-alpha120", | ||
"version": "1.0.0-alpha121", | ||
"description": "A full-fledged ORM framework for NodeJS and MySQL with develop friendly code aimed to handle database migrations, MySQL Query builder / helper and property mapping.", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is not supported yet
189593