mirror of
https://gitlab.silvrtree.co.uk/martind2000/mdot_mqtt.git
synced 2025-02-04 09:20:14 +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() {
|
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) {
|
if (err !== null) {
|
||||||
console.log('exec error: ' + err);
|
console.log('exec error: ' + err);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user