added db builder as a node file

This commit is contained in:
Martin Donnelly 2016-04-04 15:13:40 +01:00
parent bad5f52b3b
commit 898627585b

View File

@ -59,7 +59,7 @@ function prepare_db() {
function createDB() {
'use strict';
exec('createdb oBrand', function(err) {
exec('createdb -Upostgres -h localhost -d oBrand', function(err) {
if (err !== null) {
console.log('exec error: ' + err);
return -1;