added db builder as a node file

This commit is contained in:
Martin Donnelly 2016-04-04 15:15:09 +01:00
parent 898627585b
commit 030c9ac7a3

View File

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