dvpntjs-scripts
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -11,3 +11,3 @@ const _ = require('underscore'); | ||
const dbmsHash = {mongo, postgres}; | ||
const dbmsHash = {mongodb: mongo, postgresql: postgres}; | ||
@@ -40,3 +40,2 @@ function parseUrl(dbUrl) { | ||
const {dbms, ...dbParams} = parseUrl(dbUrl); | ||
await dbmsHash[dbms].restore({...dbParams, dumpPath}); | ||
@@ -43,0 +42,0 @@ |
{ | ||
"name": "dvpntjs-scripts", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "dvpnt node helper scripts", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
16540