mirror of
https://gitlab.silvrtree.co.uk/martind2000/obrand-admin-server.git
synced 2025-01-10 20:45:07 +00:00
added db builder as a node file
This commit is contained in:
parent
bad5f52b3b
commit
898627585b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user