Skip to content

Commit

Permalink
Update ubuntu.sh (#14)
Browse files Browse the repository at this point in the history
Remove CREATEDB option
  • Loading branch information
reta-ygs authored Aug 17, 2023
1 parent 8a5d8e0 commit 1884dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ if $db_local; then
tput setaf 3;
echo "Process: create user and database on postgres;"
tput setaf 7;
sudo -iu postgres psql -c "CREATE ROLE $db_user LOGIN CREATEDB PASSWORD '$db_pass';" -c "CREATE DATABASE $db_name OWNER $db_user;"
sudo -iu postgres psql -c "CREATE ROLE $db_user LOGIN PASSWORD '$db_pass';" -c "CREATE DATABASE $db_name OWNER $db_user;"
fi

#region docker setting
Expand Down

0 comments on commit 1884dcb

Please sign in to comment.