Selaa lähdekoodia

:bug: fix create db & user

Jeremy Zheng 3 vuotta sitten
vanhempi
sitoutus
49664fbe79
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;