diff --git a/dbconfig.js b/dbconfig.js index c3fba77..b1871e2 100644 --- a/dbconfig.js +++ b/dbconfig.js @@ -10,7 +10,7 @@ var dbAccount = require('./server/units/db-accounts')(db); var exec = require('child_process').exec; function prepare_db() { - exec('psql -Upostgres -d oBrand -f ./obrand.sql', function(err) { + exec('psql -Upostgres -d oBrand -h localhost -f ./obrand.sql', function(err) { if (err !== null) { console.log('exec error: ' + err); }