Explorar el Código

:bug: fix create db & user

Jeremy Zheng hace 3 años
padre
commit
49664fbe79
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/spring/postgresql.sh

+ 1 - 1
scripts/spring/postgresql.sh

@@ -8,7 +8,7 @@ then
     exit 1
 fi
 
-psql -h 127.0.0.1 -U postgres << EOF
+psql << EOF
 CREATE DATABASE $1_mint WITH ENCODING = 'UTF8';
 CREATE USER $1 WITH PASSWORD '$2';
 GRANT ALL PRIVILEGES ON DATABASE $1_mint TO $1;