From 07096705506b1c386a2f9535515fe0d01b3008d1 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 4 Dec 2020 13:15:51 +0100 Subject: [PATCH] Push fix --- myvc-push.js | 3 +-- package.json | 2 +- template/.gitignore | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/myvc-push.js b/myvc-push.js index ce40f29..9fca4c5 100644 --- a/myvc-push.js +++ b/myvc-push.js @@ -88,6 +88,7 @@ class Push { } console.log('Applying versions.'); + const pushConn = await myvc.createConnection(); let nChanges = 0; const versionsDir = `${opts.workspace}/versions`; @@ -136,8 +137,6 @@ class Push { } } - const pushConn = await myvc.createConnection(); - console.log('Applying changed routines.'); let nRoutines = 0; diff --git a/package.json b/package.json index 2e2355d..7acbb6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "myvc", - "version": "1.1.2", + "version": "1.1.3", "author": "Verdnatura Levante SL", "description": "MySQL Version Control", "license": "GPL-3.0", diff --git a/template/.gitignore b/template/.gitignore index cd13244..532df77 100644 --- a/template/.gitignore +++ b/template/.gitignore @@ -1,4 +1,3 @@ .DS_Store node_modules remotes/*.ini -.procs-priv.sql