mirror of
https://gitlab.silvrtree.co.uk/martind2000/mdot_mqtt.git
synced 2025-01-25 17:56:17 +00:00
Preparing for image install
This commit is contained in:
parent
77455ba85c
commit
15ebc0929c
@ -9,7 +9,7 @@ var exec = require('child_process').exec;
|
||||
|
||||
|
||||
function prepare_db() {
|
||||
exec('psql -Upostgres -d oBrand -h localhost -f ./mdot.sql', function(err) {
|
||||
exec('psql -Upostgres -d mdot -h localhost -f ./mdot.sql', function(err) {
|
||||
if (err !== null) {
|
||||
console.log('exec error: ' + err);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user